day of the date in french

Matthias Apitz guru at unixarea.de
Fri Oct 1 07:03:46 UTC 2021


El día viernes, octubre 01, 2021 a las 06:23:08a. m. +0000, φ  Dhénin Jean-Jacques escribió:

> Hello,
> despite my research i am not able to get the day of the date in french on
> freebsd, while on mac it works:
> on mac os terminal:
> [Desktop]:;  ( export lc_all=fr_FR.UTF-8 ; export LC_TIME=fr_FR.UTF-8 ; date
> +\%A_\%Y\%m\%d )Vendredi_20211001
> on freebsd:
> [Desktop]:;  uname -aFreeBSD pyracmon.dhenin.fr 12.2-RELEASE-p7 ...[Desktop]:; 
> (export lc_all = fr_FR.UTF-8; export LC_TIME = fr_FR.UTF-8; date + \% A _ \% Y
> \% m \% d)Friday_20211001
> 
> An idea ? thanks a lot

guru at vm-r368166:~ $ export LANG=fr_FR.UTF-8
guru at vm-r368166:~ $ date
ven.  1 oct. 2021 09:02:01 CEST
guru at vm-r368166:~ $ export LANG=es_ES.UTF-8
guru at vm-r368166:~ $ date
viernes,  1 de octubre de 2021, 09:02:44 CEST

	matthias

-- 
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
August 13, 1961: Better a wall than a war. And, while the GDR was still existing,
no German troups and bombs have been killed in Yugoslavia, Afghanistan, Afrika...


More information about the freebsd-questions mailing list