mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:07:34 +00:00
AnalogClock: Use YYYY-MM-DD format for window title
This commit is contained in:
parent
212e1ba0d4
commit
f512b24b21
3 changed files with 8 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue