[3PP] Uplifted FMT to 12.1
This commit is contained in:
committed by
Radosław Gliński
parent
56697f1be6
commit
c6be50165f
@@ -1095,7 +1095,8 @@ void EmulatorWindow::ExportScreenshot(const xe::ui::RawImage& image) {
|
||||
auto t = std::time(nullptr);
|
||||
|
||||
// The format is: Year-Month-DayTHours-Minutes-Seconds based off ISO 8601
|
||||
std::string datetime = fmt::format("{:%Y-%m-%dT%H-%M-%S}", fmt::localtime(t));
|
||||
std::string datetime =
|
||||
fmt::format("{:%Y-%m-%dT%H-%M-%S}", *std::localtime(&t));
|
||||
|
||||
// Get the title id of the game because some titles contain characters that
|
||||
// cannot be used as a directory
|
||||
|
||||
Reference in New Issue
Block a user