Achievements: Fix display of game completion time (#3599)

This commit is contained in:
Davide Pesavento
2025-10-30 22:50:05 -04:00
committed by GitHub
parent 5a49db0717
commit 97db72cb2c

View File

@@ -699,7 +699,7 @@ void FullscreenUI::DrawAchievementsWindow()
if (summary.completed_time > 0)
{
const std::string completion_time =
Host::FormatNumber(Host::NumberFormatType::ShortDate, static_cast<s64>(summary.beaten_time));
Host::FormatNumber(Host::NumberFormatType::ShortDate, static_cast<s64>(summary.completed_time));
text.append_format(TRANSLATE_FS("Achievements", "Game was beaten on {0}, and completed on {1}."), beaten_time,
completion_time);
}