[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tzname, daylight, timezone: Update documentation
From: |
Eric Blake |
Subject: |
Re: tzname, daylight, timezone: Update documentation |
Date: |
Thu, 6 Jun 2024 14:17:38 -0500 |
User-agent: |
NeoMutt/20240425 |
On Thu, Jun 06, 2024 at 08:36:05PM GMT, Bruno Haible wrote:
> This patch updates the documentation regarding the three variables
> tzname
> daylight
> timezone
> that are supposed to be set by tzset().
>
> OpenBSD ≥ 5.8 supports these variables, but FreeBSD - to this day -
> supports only 'tzname'.
>
> On MSVC, these variables are not really missing; they just have a
> different name, prefixed with underscore.
You should also document that POSIX will be recommending that you
avoid these three globals, because they do not work with
location-based TZ settings (standardized in the soon-to-be-released
POSIX Issue 8):
https://austingroupbugs.net/view.php?id=1816
--
Eric Blake, Principal Software Engineer
Red Hat, Inc.
Virtualization: qemu.org | libguestfs.org