Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2025 22:44:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 269207] localtime.c fails to detect mobile device timezone change
Message-ID:  <bug-269207-227-kgaWm5IiYQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-269207-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269207-227-kgaWm5IiYQ>