mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +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
|
@ -130,7 +130,7 @@ void AnalogClock::paint_event(GUI::PaintEvent& event)
|
|||
|
||||
void AnalogClock::update_title_date()
|
||||
{
|
||||
window()->set_title(Core::DateTime::now().to_string("Clock %d-%m-%Y"));
|
||||
window()->set_title(Core::DateTime::now().to_string("%Y-%m-%d"));
|
||||
}
|
||||
|
||||
void AnalogClock::context_menu_event(GUI::ContextMenuEvent& event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue