I can confirm that this is still the case... On an ubuntu 20.04: ``` ard@lenny:~$ TZ=US/Eastern date Mon Mar 29 09:08:43 EDT 2021 ard@lenny:~$ TZ=America/New_York date Mon Mar 29 09:08:47 EDT 2021 ard@lenny:~$ TZ=EDT date Mon Mar 29 13:08:51 EDT 2021 ard@lenny:~$ TZ=EST date Mon Mar 29 08:16:16 EST 2021 ard@lenny:~$ TZ=NNN date Mon Mar 29 13:16:26 NNN 2021 ard@lenny:~$ TZ=NNNN date Mon Mar 29 13:16:31 NNNN 2021 ``` on trusty: ``` ard@trusty:~$ TZ=EDT date Mon Mar 29 13:17:27 EDT 2021 ard@trusty:~$ TZ=US/Eastern date Mon Mar 29 09:17:38 EDT 2021 ard@trusty:~$ TZ=EST date Mon Mar 29 08:17:45 EST 2021 ard@trusty:~$ TZ=NNNN date Mon Mar 29 13:17:51 NNNN 2021 ard@trusty:~$ TZ=America/New_York date Mon Mar 29 09:18:27 EDT 2021 ard@trusty:~$ TZ=xxx date Mon Mar 29 13:18:46 xxx 2021 ard@trusty:~$ TZ=xxxxxxx date Mon Mar 29 13:18:50 xxxxxxx 2021 ard@trusty:~$ TZ=CET date Mon Mar 29 15:19:30 CEST 2021 ard@trusty:~$ TZ=CEST date Mon Mar 29 13:19:34 CEST 2021 ard@trusty:~$ TZ=UTC date Mon Mar 29 13:21:31 UTC 2021
``` So timezone setting using the name EDT are broken. The only way to get EDT is to use US/Eastern or America/New_York . Personally I think it's a bug to not accept EDT (might be ambiguous), and an even bigger bug to just echo the TZ if the TZ is actually unknown. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452314 Title: TZ=EDT date reporting misleading times To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1452314/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
