bug#48353: result of date is wrong if Etc/GMT is used

2021-05-11 Thread Paul Eggert
On 5/11/21 3:17 AM, Thomas Güttinger wrote: The date command inverts the sign if TZ is set with Etc/GMT. That's a feature, not a bug. The Etc zones are documented to use the opposite sign, to be consistent with POSIX settings like TZ='<+05>-5'. $ date -u; TZ='<+05>-5' date; TZ=Etc/GMT-5

bug#48353: result of date is wrong if Etc/GMT is used

2021-05-11 Thread Thomas Güttinger
The date command inverts the sign if TZ is set with Etc/GMT. Example: TZ=':Etc/GMT+5' date Result: Di 11. Mai 05:08:48 -05 2021 Tested with version coreutils-8.28 and coreutils 8.32-1. Thomas Güttinger Linux Developer guettin...@igel.com