day of the date in french

Andreas Perstinger andipersti at
Fri Oct 1 15:51:37 UTC 2021

On 01.10.21 14:58, φ Dhénin Jean-Jacques wrote:
> root at pyracmon #  ( export  ( export lc_all=fr_FR.UTF-8 ; export
> LC_TIME=fr_FR.UTF-8 ; date +\%A_\%Y\%m\%d )vendredi_20211001

If you want to change the environment temporarily for a simple command, 
prefixing the command with the variable assignment should work:

$ LC_TIME=fr_FR.UTF-8 date +\%A_\%Y\%m\%d

Bye, Andreas

More information about the freebsd-questions mailing list