]> Savannah Git Hosting - gnulib.git/commit
parse-datetime-tests: port to Gnulib mktime
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Jan 2025 04:44:22 +0000 (20:44 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Jan 2025 04:44:57 +0000 (20:44 -0800)
commite264521aaa0558935a2959f899db2a988fa479ca
tree107c74d81b35041024327da308d7cd812a1d0922
parentb1715e5243000c94e99dcd38c138dfe68bc768b3
parse-datetime-tests: port to Gnulib mktime

Problem reported by Pádraig Brady in:
https://lists.gnu.org/r/bug-gnulib/2025-01/msg00040.html
* tests/test-parse-datetime.c (main): Allow both pedantic and
naive interpretation of "now - 35 years", since the main point of
the test introfuced to fix <https://bugs.gnu.org/48085> was that
parse_datetime shouldn’t fail.
ChangeLog
tests/test-parse-datetime.c