This commit is contained in:
Mars 2025-04-25 14:40:45 -04:00
parent c9ea3821b6
commit 88c242b34b
8 changed files with 30 additions and 49 deletions

View file

@ -14,7 +14,7 @@ namespace {
try {
return std::format(std::locale(""), "{:%B %d}", ymd);
} catch (const std::runtime_error& e) {
ERROR_LOG("Warning: Could not retrieve or use system locale ({}). Falling back to default C locale.", e.what());
WARN_LOG("Could not retrieve or use system locale ({}). Falling back to default C locale.", e.what());
return std::format(std::locale::classic(), "{:%B %d}", ymd);
}
}