overlays: fix home menu date format

This commit is contained in:
Megamouse 2023-02-06 23:49:16 +01:00
parent 53f81ce9c7
commit 3b09a39576

View File

@ -11,7 +11,7 @@ namespace rsx
std::ostringstream ost;
const std::time_t dateTime = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
const std::tm tm = *std::localtime(&dateTime);
ost << std::put_time(&tm, "%Y/%m/%e %H:%M:%S");
ost << std::put_time(&tm, "%Y/%m/%d %H:%M:%S");
return ost.str();
}