From f2f934373772fbb78a8a1377cfe8c711c40ad317 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Tue, 21 Nov 2023 01:07:25 +0300 Subject: [PATCH] screenshot file name format updated --- src/files/engine_files.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/files/engine_files.cpp b/src/files/engine_files.cpp index 3dc920f8..a9232076 100644 --- a/src/files/engine_files.cpp +++ b/src/files/engine_files.cpp @@ -17,8 +17,7 @@ path enginefs::get_screenshot_file(string ext) { auto t = std::time(nullptr); auto tm = *std::localtime(&t); - const char* format = "%d-%m-%Y_%H-%M-%S"; - + const char* format = "%Y-%m-%d_%H-%M-%S"; std::stringstream ss; ss << std::put_time(&tm, format); string datetimestr = ss.str();