[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tzset: update doc for TZ problems on MS-Windows
From: |
Bruno Haible |
Subject: |
Re: [PATCH] tzset: update doc for TZ problems on MS-Windows |
Date: |
Tue, 02 May 2017 07:49:46 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-75-generic; KDE/5.18.0; x86_64; ; ) |
Paul Eggert wrote:
> --- a/doc/posix-functions/tzset.texi
> +++ b/doc/posix-functions/tzset.texi
> @@ -19,4 +19,13 @@ Solaris 2.6.
>
> Portability problems not fixed by Gnulib:
> @itemize
> address@hidden
> +Native Windows platforms (mingw, MSVC) support only a subset of
> +POSIX-specified values for the @env{TZ} environment variable,
> +consisting of a time zone abbreviation containing exactly three ASCII
> +letters with no daylight saving time or angle brackets, and with no
> +support for @code{tz} database settings like
> address@hidden'America/New_York'}. Even this subset does not work on
> +applications built via the Universal Windows Platform, as it does not
> +make environment variables like @env{TZ} available to applications.
Thanks. Really funny, this detail in the syntax description of TZ [1]:
"The C run-time library assumes the United States' rules for
implementing the calculation of daylight saving time (DST)."
[1] https://msdn.microsoft.com/en-us/library/90s5c885.aspx