[Bug 269207] localtime.c fails to detect mobile device timezone change

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 28 Feb 2025 22:44:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269207

--- Comment #5 from J.R. Oldroyd <fbsd@opal.com> ---
This appears to be obsolete now.

Recent updates to the localtime() code introduce DETECT_TZ_CHANGES which adds
code to do the same as I'd proposed here two years ago.

The new functionality can be enabled by adding WITH_DETECT_TZ_CHANGES=1 to
/etc/src.conf and then rebuilding libc(localtime.o).  I have tested this and
cron(8) now does detect the timezone change.

Only comment is that it might be useful to make DETECT_TZ_CHANGES be enabled by
default and have a WITHOUT_DETECT_TZ_CHANGES setting in src.conf to turn it off
if needed.

-- 
You are receiving this mail because:
You are the assignee for the bug.