mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
screenshot file name format updated
This commit is contained in:
parent
9629135791
commit
f2f9343737
1 changed files with 1 additions and 2 deletions
|
|
@ -17,8 +17,7 @@ path enginefs::get_screenshot_file(string ext) {
|
||||||
auto t = std::time(nullptr);
|
auto t = std::time(nullptr);
|
||||||
auto tm = *std::localtime(&t);
|
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;
|
std::stringstream ss;
|
||||||
ss << std::put_time(&tm, format);
|
ss << std::put_time(&tm, format);
|
||||||
string datetimestr = ss.str();
|
string datetimestr = ss.str();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue