diff options
author | Barichello <artur@barichello.me> | 2022-01-14 00:49:27 -0300 |
---|---|---|
committer | Barichello <artur@barichello.me> | 2022-01-14 00:49:27 -0300 |
commit | d545b3d7d4eb02a84fa7cb9ce1ff591c81b08707 (patch) | |
tree | 61f620b28778ab17451ea5dbe85c11814bbf8524 /NorthstarDedicatedTest/logging.cpp | |
parent | da66797dd1fb4d9937f05cfbbc24c71a397e2c33 (diff) | |
download | NorthstarLauncher-d545b3d7d4eb02a84fa7cb9ce1ff591c81b08707.tar.gz NorthstarLauncher-d545b3d7d4eb02a84fa7cb9ce1ff591c81b08707.zip |
Update date format in dump files
Diffstat (limited to 'NorthstarDedicatedTest/logging.cpp')
-rw-r--r-- | NorthstarDedicatedTest/logging.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/logging.cpp b/NorthstarDedicatedTest/logging.cpp index c5c5ea19..2592cb3e 100644 --- a/NorthstarDedicatedTest/logging.cpp +++ b/NorthstarDedicatedTest/logging.cpp @@ -154,7 +154,7 @@ long __stdcall ExceptionFilter(EXCEPTION_POINTERS* exceptionInfo) time_t time = std::time(nullptr); tm currentTime = *std::localtime(&time); std::stringstream stream; - stream << std::put_time(¤tTime, "R2Northstar/logs/nsdump%d-%m-%Y %H-%M-%S.dmp"); + stream << std::put_time(¤tTime, "R2Northstar/logs/nsdump%Y-%m-%d %H-%M-%S.dmp"); auto hMinidumpFile = CreateFileA(stream.str().c_str(), GENERIC_WRITE, FILE_SHARE_READ, 0, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, 0); if (hMinidumpFile) |