aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTarek Soliman2017-05-31 22:32:32 -0500
committerTarek Soliman2017-06-09 13:15:38 -0500
commit255cd0452c1e84b080631c44413b34cb0ee6e172 (patch)
tree4182413992496278b45f08f7618d8bd5d2ac9c91 /engines
parentd7e5e5f99596d5f7bccfd27db5c8e7decc8778a6 (diff)
downloadscummvm-rg350-255cd0452c1e84b080631c44413b34cb0ee6e172.tar.gz
scummvm-rg350-255cd0452c1e84b080631c44413b34cb0ee6e172.tar.bz2
scummvm-rg350-255cd0452c1e84b080631c44413b34cb0ee6e172.zip
ENGINES: Display savestate date as YYYY-MM-DD
This avoids confusion in locales that use MM/DD/YYYY vs DD/MM/YYYY
Diffstat (limited to 'engines')
-rw-r--r--engines/savestate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/savestate.cpp b/engines/savestate.cpp
index 7366aa6a61..20a37581dc 100644
--- a/engines/savestate.cpp
+++ b/engines/savestate.cpp
@@ -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) {