diff options
author | louiz’ <louiz@louiz.org> | 2016-12-08 02:53:39 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2016-12-08 02:53:39 +0100 |
commit | 7a8b4e37a508e27af8da25008676e913fdf24ac6 (patch) | |
tree | 6507ddbb52d9f0f73bcb7055a7ba775116ccfff6 /louloulibs | |
parent | 807ac95e798185aca35d6b2f3bf425a9c8b03744 (diff) | |
download | biboumi-7a8b4e37a508e27af8da25008676e913fdf24ac6.tar.gz biboumi-7a8b4e37a508e27af8da25008676e913fdf24ac6.tar.bz2 biboumi-7a8b4e37a508e27af8da25008676e913fdf24ac6.tar.xz biboumi-7a8b4e37a508e27af8da25008676e913fdf24ac6.zip |
In time.cpp, use the en_US.UTF-8 locale, instead of en_US.utf-8
(which apparently doesn’t work on freebsd)
Diffstat (limited to 'louloulibs')
-rw-r--r-- | louloulibs/utils/time.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/louloulibs/utils/time.cpp b/louloulibs/utils/time.cpp index afd6117..e3c49ed 100644 --- a/louloulibs/utils/time.cpp +++ b/louloulibs/utils/time.cpp @@ -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; |