A resolution on this issue was identified with Debian:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001774

The behavior noted here is expected and correct.

This is related to a bug/change in glibc 2.29. The failure can arise if
timezone is not set (e.g., "Etc/UTC"), and possibly other scenarios that
would result in tm_isdst < 0.

The behavior of mktime differs on ubuntu 20.04 and 18.04 as they use
different glibc versions. Aurelien with Debian notes this may be a bug
for 18.04. Please see the thread with Debian for further detail.

** Bug watch added: Debian Bug tracker #1001774
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001774

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1954963

Title:
  tm_isdst=1 with mktime on 20.04 produces unexpected output

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1954963/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to