Add timezone offset to system time in crash log (#2142)

This commit is contained in:
wolfcomp 2025-01-03 17:57:34 +01:00 committed by GitHub
parent 6d0c9d4f4a
commit e999a8f678
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -941,7 +941,7 @@ int main() {
log << std::format(L"Dump at: {}", dumpPath.wstring()) << std::endl;
else
log << std::format(L"Dump error: {}", dumpError) << std::endl;
log << L"System Time: " << std::chrono::system_clock::now() << std::endl;
log << std::format(L"System Time: {0:%F} {0:%T} {0:%Ez}", std::chrono::system_clock::now()) << std::endl;
log << L"\n" << stackTrace << std::endl;
if (pProgressDialog)