Default Date Format
by brainsys from LinuxQuestions.org on (#4Y0HX)
I've just commissioned a new Debian 10 server. Two oddities which may be related (or not).
All my Debian 10 systems until now put date as follows:
# date
Thu 16 Jan 15:25:21 GMT 2020
The new system ouputs:
# date
Thu 16 Jan 2020 03:25:59 PM GMT
The other oddity is that cron jobs on new system execute an hour earlier than requested.
My first thought was 'locale' but both are identical:
# cat /etc/default/locale
# File generated by update-locale
LANG="en_US.UTF-8"
I checked the Time zone, again both identical:
timedatectl
Local time: Thu 2020-01-16 15:30:15 GMT
Universal time: Thu 2020-01-16 15:30:15 UTC
RTC time: Thu 2020-01-16 15:30:16
Time zone: Europe/London (GMT, +0000)
System clock synchronized: yes
NTP service: inactive
RTC in local TZ: no
Research here and elsewhere is how to display time in different formats but silent so far on how 'date' finds its default format which, as you can see differs.
Anyone?


All my Debian 10 systems until now put date as follows:
# date
Thu 16 Jan 15:25:21 GMT 2020
The new system ouputs:
# date
Thu 16 Jan 2020 03:25:59 PM GMT
The other oddity is that cron jobs on new system execute an hour earlier than requested.
My first thought was 'locale' but both are identical:
# cat /etc/default/locale
# File generated by update-locale
LANG="en_US.UTF-8"
I checked the Time zone, again both identical:
timedatectl
Local time: Thu 2020-01-16 15:30:15 GMT
Universal time: Thu 2020-01-16 15:30:15 UTC
RTC time: Thu 2020-01-16 15:30:16
Time zone: Europe/London (GMT, +0000)
System clock synchronized: yes
NTP service: inactive
RTC in local TZ: no
Research here and elsewhere is how to display time in different formats but silent so far on how 'date' finds its default format which, as you can see differs.
Anyone?