Skip to content

Commit

Permalink
Add timezone offset to system time in crash log (#2142)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfcomp authored Jan 3, 2025
1 parent 6d0c9d4 commit e999a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DalamudCrashHandler/DalamudCrashHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e999a8f

Please sign in to comment.