Commit 7a8b4e37 authored by louiz’'s avatar louiz’

In time.cpp, use the en_US.UTF-8 locale, instead of en_US.utf-8

(which apparently doesn’t work on freebsd)
parent 807ac95e
......@@ -24,7 +24,7 @@ std::time_t parse_datetime(const std::string& stamp)
std::tm t = {};
#ifdef HAS_GET_TIME
std::istringstream ss(stamp);
ss.imbue(std::locale("en_US.utf-8"));
ss.imbue(std::locale("en_US.UTF-8"));
std::string timezone;
ss >> std::get_time(&t, format) >> timezone;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment