Actually, just use the C locale for the date formats

We don’t need any UTF-8 support here, and it’s more portable
This commit is contained in:
louiz’
2017-02-01 20:33:16 +01:00
parent 479b718993
commit 835c650ef5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -332,7 +332,7 @@ endif()
configure_file(unit/biboumi.service.cmake biboumi.service)
# Force the format of the date output
set(ENV{LANG} "C.UTF-8")
set(ENV{LANG} "C")
execute_process(COMMAND "date" "+%a %b %d %Y" OUTPUT_VARIABLE RPM_DATE
OUTPUT_STRIP_TRAILING_WHITESPACE)
unset(ENV{LANG})