Hi,
I was having a problem parsing dates with python in an Alpine container and after some time digging I have found a difference in how musl and glibc calculate the unix Epoch using strftime.
Calling directly to musl/mktime work as expected.
I have attached a small program which shows the difference between musl and glibc.
$ TZ=Europe/Madrid ./a.out
strftime: -3600
mktime: -3600
$ TZ=America/New_York ./a.out
strftime: 18000
mktime: 18000
Compiled with musl:
$ TZ=Europe/Madrid ./a.out
strftime: 0
mktime: -3600
$ TZ=America/New_York ./a.out
strftime: 0
mktime: 18000
Thanks!
Adrián