1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:47:46 +00:00

AnalogClock: Use YYYY-MM-DD format for window title

This commit is contained in:
Linus Groh 2021-05-14 20:17:09 +01:00
parent 212e1ba0d4
commit f512b24b21
3 changed files with 8 additions and 2 deletions

View file

@ -34,7 +34,7 @@ int main(int argc, char** argv)
auto app_icon = GUI::Icon::default_icon("app-analog-clock");
auto window = GUI::Window::construct();
window->set_title(Core::DateTime::now().to_string("Clock %d-%m-%Y"));
window->set_title(Core::DateTime::now().to_string("%Y-%m-%d"));
window->set_icon(app_icon.bitmap_for_size(16));
window->resize(170, 170);
window->set_resizable(false);