Article 4Y0HX Default Date Format

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?latest?d=yIl2AUoC8zA latest?i=FJK79X34K94:3lLjX1M7Oa0:F7zBnMy latest?i=FJK79X34K94:3lLjX1M7Oa0:V_sGLiP latest?d=qj6IDK7rITs latest?i=FJK79X34K94:3lLjX1M7Oa0:gIN9vFwFJK79X34K94
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments