mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 09:06:55 -04:00
Put year instead of day first in screenshot filenames
This commit is contained in:
parent
838cbfa30c
commit
123bbe17d9
@ -553,7 +553,7 @@ void Game_TakeScreenshot(void) {
|
||||
DateTime_CurrentLocal(&now);
|
||||
|
||||
String_InitArray(filename, fileBuffer);
|
||||
String_Format3(&filename, "screenshot_%p2-%p2-%p4", &now.day, &now.month, &now.year);
|
||||
String_Format3(&filename, "screenshot_%p4-%p2-%p2", &now.year, &now.month, &now.day);
|
||||
String_Format3(&filename, "-%p2-%p2-%p2.png", &now.hour, &now.minute, &now.second);
|
||||
String_InitArray(path, pathBuffer);
|
||||
String_Format1(&path, "screenshots/%s", &filename);
|
||||
|
Loading…
x
Reference in New Issue
Block a user