mirror of
https://github.com/HowardHinnant/date.git
synced 2025-08-04 21:24:26 +02:00
Fix missing standard locale
This commit is contained in:
2
date.h
2
date.h
@@ -4063,7 +4063,7 @@ format(std::basic_string<CharT, Traits> fmt, sys_time<Duration> tp)
|
||||
{
|
||||
const std::string abbrev("UTC");
|
||||
CONSTDATA std::chrono::seconds offset{0};
|
||||
return detail::format(std::move(fmt), local_time<Duration>{tp.time_since_epoch()},
|
||||
return detail::format(std::locale{}, std::move(fmt), local_time<Duration>{tp.time_since_epoch()},
|
||||
&abbrev, &offset);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user