mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
fix for fmt 12 (#3719)
This commit is contained in:
committed by
GitHub
parent
6805baffb2
commit
999960a6e6
@@ -98,10 +98,8 @@ SaveDialogState::SaveDialogState(const OrbisSaveDataDialogParam& param) {
|
||||
PSF param_sfo;
|
||||
param_sfo.Open(param_sfo_path);
|
||||
|
||||
auto last_write = param_sfo.GetLastWrite();
|
||||
std::string date_str =
|
||||
fmt::format("{:%d %b, %Y %R}",
|
||||
fmt::localtime(std::chrono::system_clock::to_time_t(last_write)));
|
||||
auto last_write = std::chrono::system_clock::to_time_t(param_sfo.GetLastWrite());
|
||||
std::string date_str = fmt::format("{:%d %b, %Y %R}", *std::localtime(&last_write));
|
||||
|
||||
size_t size = Common::FS::GetDirectorySize(dir_path);
|
||||
std::string size_str = SpaceSizeToString(size);
|
||||
|
||||
Reference in New Issue
Block a user