Skip to content

Commit

Permalink
log timestamp in UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyFr3sh committed Sep 22, 2024
1 parent e007211 commit 4d11fc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ void dbg_init()
DWORD timestamp = util_get_timestamp(GetModuleHandleA(NULL));
if (timestamp)
{
TRACE("timestamp = %s", _ctime32((const long*)&timestamp));
struct tm* timeinfo = _gmtime32((const long*)&timestamp);
TRACE("timestamp = %s", asctime(timeinfo));
}
}
}
Expand Down

0 comments on commit 4d11fc3

Please sign in to comment.