refactor(date): Remove obsolescent setlocale call
This commit is contained in:
parent
1bc9933a88
commit
0024e1e9e7
1 changed files with 0 additions and 1 deletions
|
@ -10,7 +10,6 @@ namespace modules {
|
||||||
|
|
||||||
date_module::date_module(const bar_settings& bar, string name_) : timer_module<date_module>(bar, move(name_)) {
|
date_module::date_module(const bar_settings& bar, string name_) : timer_module<date_module>(bar, move(name_)) {
|
||||||
if (!m_bar.locale.empty()) {
|
if (!m_bar.locale.empty()) {
|
||||||
setlocale(LC_TIME, m_bar.locale.c_str());
|
|
||||||
datetime_stream.imbue(std::locale(m_bar.locale.c_str()));
|
datetime_stream.imbue(std::locale(m_bar.locale.c_str()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue