diff --git a/src/gettext_boost.cpp b/src/gettext_boost.cpp index 17c7e8137924..023ca91292b9 100644 --- a/src/gettext_boost.cpp +++ b/src/gettext_boost.cpp @@ -517,7 +517,8 @@ std::string strftime(const std::string& format, const std::tm* time) std::lock_guard lock(get_mutex()); dummy.imbue(get_manager().get_locale()); // See utils/io.hpp for explanation of this check -#if HAVE_PUT_TIME +#if 0 // HAVE_PUT_TIME is 1 for nearly everything except GCC < 5 however put_time does not adjust for locale in Linux + // HAVE_PUT_TIME is still used by io.hpp so change the value here instead of in global.hpp dummy << std::put_time(time, format.c_str()); #else dummy << bl::as::ftime(format) << mktime(const_cast(time));