Sort Screenshots by YYYYMMDD #1372 (#1599)

* Sort screenshots by YYYYMMDD (#1372)

* Sort screenshots by YYYYMMDD (#1372)

* Fixes

---------

Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
This commit is contained in:
iagoesp 2025-03-08 08:39:24 -03:00 committed by GitHub
parent a9482054cd
commit b3b8b73c55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -619,7 +619,7 @@ namespace TEN::Renderer
time(&rawtime);
auto time = localtime(&rawtime);
strftime(buffer, sizeof(buffer), "/TEN-%d-%m-%Y-%H-%M-%S.png", time);
strftime(buffer, sizeof(buffer), "/TEN-%Y-%m-%d_%H-%M-%S.png", time);
auto screenPath = g_GameFlow->GetGameDir() + "Screenshots";