refactor(date): Remove obsolescent setlocale call

This commit is contained in:
patrick96 2017-09-15 14:22:42 +02:00
parent 1bc9933a88
commit 0024e1e9e7
No known key found for this signature in database
GPG Key ID: 521E5E03AEBCA1A7

View File

@ -10,7 +10,6 @@ namespace modules {
date_module::date_module(const bar_settings& bar, string name_) : timer_module<date_module>(bar, move(name_)) {
if (!m_bar.locale.empty()) {
setlocale(LC_TIME, m_bar.locale.c_str());
datetime_stream.imbue(std::locale(m_bar.locale.c_str()));
}