]> 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>
Mon, 27 May 2024 15:51:38 +0000 (17:51 +0200)
commit623bcc22f4744b409ac5e1c00c3b6fd6494b49ce
treedd0350d4995ef3dc885434e0edbe1a3ffd30478f
parent06410e122036942cd79690df6256d7c7fcccec75
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