This commit is contained in:
parent
7dc987ab2c
commit
a61ff1e1d7
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user