diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-05-01 18:00:56 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-05-01 18:01:42 -0700 |
commit | b0ebe1b9a51cebdf26e15b86f5c3a408724f1cb0 (patch) | |
tree | 373bee6802ec5e58f60b9bd487a04024688de17c /doc/posix-functions/timezone.texi | |
parent | 65758d9c1104031130194fcf38d3db497fdfac88 (diff) | |
download | gnulib-b0ebe1b9a51cebdf26e15b86f5c3a408724f1cb0.tar.gz |
tzset: update doc for TZ problems on MS-Windows
* doc/posix-functions/ctime.texi, doc/posix-functions/daylight.texi:
* doc/posix-functions/localtime.texi, doc/posix-functions/mktime.texi:
* doc/posix-functions/strftime.texi, doc/posix-functions/timezone.texi:
* doc/posix-functions/tzname.texi, doc/posix-functions/tzset.texi:
* doc/posix-functions/wcsftime.texi:
Mention some issues with TZ under MS-Windows.
Diffstat (limited to 'doc/posix-functions/timezone.texi')
-rw-r--r-- | doc/posix-functions/timezone.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/posix-functions/timezone.texi b/doc/posix-functions/timezone.texi index dfadb356ed..fa1ae7ef70 100644 --- a/doc/posix-functions/timezone.texi +++ b/doc/posix-functions/timezone.texi @@ -18,4 +18,10 @@ IRIX 6.5, OSF/1 5.1, mingw. @item The address of this variable is not a compile-time constant on some platforms: mingw. +@item +Native Windows platforms (mingw, MSVC) support only a subset of time +zones supported by GNU or specified by POSIX. @xref{tzset}. @end itemize + +A more portable way of getting the UTC offset is to use +@code{strftime} with the @code{%z} format. @xref{strftime}. |