Commit c7f3ded7 authored by Sébastien Blin's avatar Sébastien Blin

locale: use correct locale

Change-Id: I53074b108bba0e71e27b53391fbfb8dc4fe96edf
parent 9778f127
......@@ -18,6 +18,8 @@
***************************************************************************/
#include "api/lrc.h"
#include <locale>
#ifndef _MSC_VER
#include <unistd.h>
#else
......@@ -63,6 +65,8 @@ public:
Lrc::Lrc(MigrationCb willDoMigrationCb, MigrationCb didDoMigrationCb)
{
// Replace locale for timestamps
std::locale::global(std::locale(""));
// Ensure Daemon is running/loaded (especially on non-DBus platforms)
// before instantiating LRC and its members
InstanceManager::instance();
......
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