Public bug reported: When calculating a timestamp for a time between 02:00 and 02:59 in some locales, date will report "invalid date".
This only occurs if the system time is currently during the day that standard time transitions to daylight time. Example: OS Version information: Distributor ID: Ubuntu Description: Ubuntu 20.04.4 LTS Release: 20.04 Codename: focal System Locale is: America/Chicago System time the command was issued: Sun 13 Mar 2022 10:15:18 PM CDT Command issued: date +%s -d 'tomorrow 02:50' System Response: date: invalid date 'tomorrow 02:50' If the command issued is changed such that the calculated time is anything other than a time between 02:00 and 02:59 the output is normal. ** Affects: coreutils (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964741 Title: date command produces "invalid date" on day of DST change when calculating a time between 02:00 and 02:59 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1964741/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs