Skip to content

Commit

Permalink
ENGINES: Display savestate date as YYYY-MM-DD
Browse files Browse the repository at this point in the history
This avoids confusion in locales that use MM/DD/YYYY vs DD/MM/YYYY
  • Loading branch information
tsoliman committed Jun 9, 2017
1 parent d7e5e5f commit 255cd04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/savestate.cpp
Expand Up @@ -43,7 +43,7 @@ void SaveStateDescriptor::setThumbnail(Graphics::Surface *t) {
}

void SaveStateDescriptor::setSaveDate(int year, int month, int day) {
_saveDate = Common::String::format("%.2d.%.2d.%.4d", day, month, year);
_saveDate = Common::String::format("%.4d-%.2d-%.2d", year, month, day);
}

void SaveStateDescriptor::setSaveTime(int hour, int min) {
Expand Down

0 comments on commit 255cd04

Please sign in to comment.