]> 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 15:44:53 +0000 (17:44 +0200)
commit4a4122d63b271a477f1c6f5772f3688209b3b77f
tree5108ccfaa568cba87a9940f251086e0c4f2efe39
parente4001304a22f18ea5161cb6cbea0ce3438485b9c
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