mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
overlays: fix home menu date format
This commit is contained in:
parent
53f81ce9c7
commit
3b09a39576
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue