aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/logging.cpp
diff options
context:
space:
mode:
authorBarichello <artur@barichello.me>2022-01-14 00:49:27 -0300
committerBarichello <artur@barichello.me>2022-01-14 00:49:27 -0300
commitd545b3d7d4eb02a84fa7cb9ce1ff591c81b08707 (patch)
tree61f620b28778ab17451ea5dbe85c11814bbf8524 /NorthstarDedicatedTest/logging.cpp
parentda66797dd1fb4d9937f05cfbbc24c71a397e2c33 (diff)
downloadNorthstarLauncher-d545b3d7d4eb02a84fa7cb9ce1ff591c81b08707.tar.gz
NorthstarLauncher-d545b3d7d4eb02a84fa7cb9ce1ff591c81b08707.zip
Update date format in dump files
Diffstat (limited to 'NorthstarDedicatedTest/logging.cpp')
-rw-r--r--NorthstarDedicatedTest/logging.cpp2
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(&currentTime, "R2Northstar/logs/nsdump%d-%m-%Y %H-%M-%S.dmp");
+ stream << std::put_time(&currentTime, "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)