summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/journeuf4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/journeuf b/bin/journeuf
index 6ad78b5..5354dea 100755
--- a/bin/journeuf
+++ b/bin/journeuf
@@ -4,8 +4,8 @@
an=$(date +%Y)
mois=$(date +%m)
jour=$(date +%d)
-js=$(LC_TIME=fr_FR date +%A | awk '{print toupper(substr($0,1,1)) substr($0,2)}')
-ms=$(LC_TIME=fr_FR date +%B | awk '{print toupper(substr($0,1,1)) substr($0,2)}')
+js=$(LC_TIME=fr_FR.UTF-8 date +%A | awk '{print toupper(substr($0,1,1)) substr($0,2)}')
+ms=$(LC_TIME=fr_FR.UTF-8 date +%B | awk '{print toupper(substr($0,1,1)) substr($0,2)}')
file=$(echo "Journal${ms}$an" | noaccent)
if [ -f tags ]; then
tagline="${an}_${mois}_${jour} $file /$js $((0+jour))"