summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2026-02-20 14:08:01 +0100
committerMarc Vertes <mvertes@free.fr>2026-02-20 14:08:01 +0100
commitab50c65a89f324c1ba11e4e50a8a954ce27cf02f (patch)
tree41f801a0b475d9e9cc6f59051d74f9b31975be09 /bin
parentba20223fd276b947686078b4a1a4848cc6773688 (diff)
fix journeuf
Diffstat (limited to 'bin')
-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))"