SaveState: Show time/date when loading states

This commit is contained in:
Henrik Rydgård
2026-05-19 12:19:40 +02:00
parent affdeb827e
commit fb7ce84edb
2 changed files with 14 additions and 14 deletions
-6
View File
@@ -68,12 +68,6 @@ CChunkFileReader::Error StateRingbuffer::Restore(std::string *errorString, std::
auto di = GetI18NCategory(I18NCat::DIALOG);
metadata->append(" (");
metadata->append(ApplySafeSubstitutions(di->T("%1 seconds ago"), static_cast<int>(time_now_d() - states_[n].savedTime)));
/*
char buffer[26];
double unixTime = time_to_unix_utc(states_[n].savedTime);
FormatUnixTime(unixTime, buffer, sizeof(buffer), false);
metadata->append(buffer);
*/
metadata->append(")");
}