On one system I'm getting date command output like below
system1# date
Thu Oct 18 10:34:36 BST 2018
while another similar box is showing it like
system2#date
Thu 18 Oct 10:34:50 BST 2018
Both showing Month at different column. When I do an
env LC_ALL=C date
on the system2 , I get it in normal way as "Thu Oct 18 10:34:36 BST 2018"
on both system, the local shows same without any difference.
#locale
LANG=en_GB.UTF-8
LANGUAGE=en_GB:en
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
any idea
env LC_ALL date
meant to do? This command fails for me, withenv: ‘LC_ALL’: No such file or directory
. The system2date
is the correct format for your locale. What is the output ofLC_TIME="en_GB.UTF-8" date
on both systems?tzselect
on your machine and off you go.