diff options
Diffstat (limited to 'src/timedate')
-rw-r--r-- | src/timedate/timedatectl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timedate/timedatectl.c b/src/timedate/timedatectl.c index 06b98b1061..caa5bc7dfb 100644 --- a/src/timedate/timedatectl.c +++ b/src/timedate/timedatectl.c @@ -23,6 +23,7 @@ #include <stdbool.h> #include <unistd.h> #include <getopt.h> +#include <locale.h> #include <string.h> #include <sys/timex.h> @@ -677,6 +678,7 @@ int main(int argc, char *argv[]) { dbus_error_init(&error); + setlocale(LC_ALL, ""); log_parse_environment(); log_open(); |