After upgrading my Bionic system to Focal, I noticed a significant change in the output of the `date` utility. This could potentially cause regressions for those who are relying on a consistent date format when using `date` in shell scripts.
EXPECTED BEHAVIOR
=================
The date format seen below can be seen on Ubuntu releases from Trusty through Bionic:
$ date -u
Wed Jan 8 21:00:14 UTC 2020
ACTUAL BEHAVIOR
===============
On Focal (and Eoan) the following date format is seen by default:
$ date -u
Wed 08 Jan 2020 09:00:14 PM UTC
Note the differences in zero-padding, whitespace, placement of the year, and the extraneous "PM" (I had expected to see a 24-hour time).
FURTHER DETAILS
===============
This machine was originally on Bionic and has been upgraded to development releases between Bionic and Focal.
After upgrading my Bionic system to Focal, I noticed a significant change in the output of the `date` utility. This could potentially cause regressions for those who are relying on a consistent date format when using `date` in shell scripts.
EXPECTED BEHAVIOR
=================
The date format seen below can be seen on Ubuntu releases from Trusty through Bionic:
$ date -u
Wed Jan 8 21:00:14 UTC 2020
ACTUAL BEHAVIOR
===============
On Focal (and Eoan) the following date format is seen by default:
$ date -u
Wed 08 Jan 2020 09:00:14 PM UTC
Note the differences in zero-padding, whitespace, placement of the year, and the extraneous "PM" (I had expected to see a 24-hour time).
FURTHER DETAILS
===============
This machine was originally on Bionic and has been upgraded to development releases between Bionic and Focal.
$ locale "en_US. UTF-8" "en_US. UTF-8" "en_US. UTF-8" "en_US. UTF-8" "en_US. UTF-8" "en_US. UTF-8" "en_US. UTF-8" "en_US. UTF-8" "en_US. UTF-8" "en_US. UTF-8" "en_US. UTF-8" ON="en_ US.UTF- 8"
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=