Mini: Fix missing format in FormatNumber()

This commit is contained in:
Stenzek
2025-08-23 21:09:21 +10:00
parent fda28eaea0
commit b67bf20335
2 changed files with 2 additions and 2 deletions

View File

@@ -1423,7 +1423,7 @@ std::string Host::FormatNumber(NumberFormatType type, s64 value)
#endif
char buf[128];
std::strftime(buf, std::size(buf), "%x", &ttime);
std::strftime(buf, std::size(buf), format, &ttime);
ret.assign(buf);
}
else

View File

@@ -613,7 +613,7 @@ std::string Host::FormatNumber(NumberFormatType type, s64 value)
#endif
char buf[128];
std::strftime(buf, std::size(buf), "%x", &ttime);
std::strftime(buf, std::size(buf), format, &ttime);
ret.assign(buf);
}
else