https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276281
--- Comment #5 from Ken McDonell <k...@kenj.id.au> --- I'm no bugzilla wizard, nor a FreeBSD bug workflow expert, so please do what you need to ... the root cause appears to be in libc's localtime(). But please note the Python problem is a build-time issue, not a run time issue, so once localtime() is fixed, Python will need to be re-built and re-released. The issue has nothing to do with the system's timezone, the reproducer snippet I included originally explicitly sets TZ in the environment, calls tzset() and localtime() returns the wrong result. I've attached a small C program that reproduces the problem, and here is my output: kenj@vm06:~$ cc groundhog.c kenj@vm06:~$ a.out OK I am: FreeBSD 13.2-RELEASE-p4 GENERIC 13.2-RELEASE-p4 kenj@vm10:~$ cc groundhog.c kenj@vm10:~$ a.out Botch hour=10 not 11 Botch isdst=0 not 1 I am: FreeBSD 14.0-RELEASE-p3 #0: Mon Dec 11 04:54:25 UTC 2023 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/i386.i386/sys/GENERIC 14.0-RELEASE-p3 -- You are receiving this mail because: You are the assignee for the bug.