]> Savannah Git Hosting - gnulib.git/commit
parse-datetime tests: Avoid failure on native Windows.
authorBruno Haible <bruno@clisp.org>
Mon, 27 May 2024 15:42:20 +0000 (17:42 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 31 May 2024 22:04:40 +0000 (00:04 +0200)
commit32364c572905656883f464acc9ea1587d994abeb
treed174f4ebdca6c59e305c69bbc775fa8f3833c7fb
parent18bf8d6c07f086e49c75552e13e97e8895c2de00
parse-datetime tests: Avoid failure on native Windows.

* tests/test-parse-datetime.c (SOME_TIMEPOINT): New macro.
(main): Use it. On native Windows, use Windows time zone names.
Invoke tzset() after setting TZ.
* doc/posix-functions/gmtime.texi: Mention the native Windows problem.
* doc/posix-functions/localtime.texi: Likewise.
ChangeLog
doc/posix-functions/gmtime.texi
doc/posix-functions/localtime.texi
tests/test-parse-datetime.c