mirror of
https://github.com/izzy2lost/xenia-edge.git
synced 2026-07-06 00:20:26 -07:00
[3pp] build fix after fmt upgrade
This commit is contained in:
@@ -446,7 +446,7 @@ QString AchievementsDialogQt::GetUnlockedTime(
|
||||
auto unlock_time = std::chrono::system_clock::to_time_t(unlock_tp);
|
||||
|
||||
return SafeQString(
|
||||
fmt::format("{:%Y-%m-%d %H:%M}", fmt::localtime(unlock_time)));
|
||||
fmt::format("{:%Y-%m-%d %H:%M}", *std::localtime(&unlock_time)));
|
||||
}
|
||||
|
||||
return "Unknown time";
|
||||
|
||||
@@ -781,7 +781,7 @@ std::string GameListDialogQt::FormatLastPlayed(time_t timestamp) {
|
||||
return "-";
|
||||
}
|
||||
|
||||
return fmt::format("{:%Y-%m-%d %H:%M}", fmt::localtime(timestamp));
|
||||
return fmt::format("{:%Y-%m-%d %H:%M}", *std::localtime(×tamp));
|
||||
}
|
||||
|
||||
void GameListDialogQt::OnFilterTextChanged(const QString& text) {
|
||||
|
||||
Reference in New Issue
Block a user