Jan. 14, 2024
4:16 p.m.
On 1/13/24 16:01:23, Paul Eggert via tz wrote:
* private.h (TM_GMTOFF, TM_ZONE): Treat draft next POSIX like glibc etc., since it requires tm_gmtoff and tm_zone. --- I wrote an exercise testing the effect of changing struct tm and TZ after local time() and before strftime() and mktime((). It works as I intended on MacOS and Linux. I'll try to attach it. Output is:
2024 1705248193 1705248193 2424 14328028993 14328028993 Average days in year = 365.24250 America/New_York is ahead of America/Los_Angeles by 3.00 hours. I hope the PROPOSED changes don't modify this. -- gil