diff --git a/src/gameske_funkce.cpp b/src/gameske_funkce.cpp index 3f2d4af..8c3a35c 100644 --- a/src/gameske_funkce.cpp +++ b/src/gameske_funkce.cpp @@ -160,7 +160,8 @@ std::string spawncmd() { void async_clock(WINDOW* win) { std::this_thread::sleep_for(std::chrono::milliseconds(150)); while (true) { - auto now = std::chrono::system_clock::now(); + auto now = + std::chrono::current_zone()->to_local(std::chrono::system_clock::now()); std::string time_str; try { // Format just the time (HH:MM:SS)