mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
overlays: fix home menu date format
This commit is contained in:
parent
53f81ce9c7
commit
3b09a39576
|
|
@ -11,7 +11,7 @@ namespace rsx
|
||||||
std::ostringstream ost;
|
std::ostringstream ost;
|
||||||
const std::time_t dateTime = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
|
const std::time_t dateTime = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
|
||||||
const std::tm tm = *std::localtime(&dateTime);
|
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();
|
return ost.str();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue