From ef8bba98188d6561d9f38c1f55dd6e51f2895789 Mon Sep 17 00:00:00 2001 From: Matthias Gabriel Date: Thu, 25 Aug 2016 08:23:19 +0200 Subject: [PATCH] Fix missing standard locale --- date.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/date.h b/date.h index 7e6c654..e6e9dd2 100644 --- a/date.h +++ b/date.h @@ -4063,7 +4063,7 @@ format(std::basic_string fmt, sys_time tp) { const std::string abbrev("UTC"); CONSTDATA std::chrono::seconds offset{0}; - return detail::format(std::move(fmt), local_time{tp.time_since_epoch()}, + return detail::format(std::locale{}, std::move(fmt), local_time{tp.time_since_epoch()}, &abbrev, &offset); }