Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Oct 2021 17:51:28 +0200
From:      Andreas Perstinger <andipersti@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: day of the date in french
Message-ID:  <5746516c-ca9f-a364-ec33-3aee1b1d59d1@gmail.com>
In-Reply-To: <v1-zrXgRZfkPgpibyVn5-0637738fec8366246c41111d7c9c07a1@gmail.com>
References:  <v1-LbHBvXNCrRyrhcfXi-5b84df9ef7af723628c6b6c2dfc38e07@gmail.com> <YVayybShS2tUHUjN@c720-r368166> <v1-NYSDol5l9v4S4cXDS-9529a64301154ecfc03ccbc48ed91194@gmail.com> <20211001082416.ab1730fdad3a823b8262c823@sohara.org> <v1-ybzfaiHN0QKMb83ds-e566b94056945c56636c3d69dcd09b63@gmail.com> <v1-zrXgRZfkPgpibyVn5-0637738fec8366246c41111d7c9c07a1@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01.10.21 14:58, φ Dhénin Jean-Jacques wrote:
> root@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5746516c-ca9f-a364-ec33-3aee1b1d59d1>