test-date: do not fail even on ~50 years later

Fixes #16181.
This commit is contained in:
Yu Watanabe
2022-09-15 13:48:55 +01:00
committed by Luca Boccassi
parent a900274915
commit 88ffd21014
+1 -1
View File
@@ -91,7 +91,7 @@ int main(int argc, char *argv[]) {
test_should_parse("1970-1-1 UTC");
test_should_pass("1970-1-1 00:00:01 UTC");
test_should_fail("1969-12-31 UTC");
test_should_fail("-100y");
test_should_fail("-1000y");
test_should_fail("today UTC UTC");
test_should_fail("now Asia/Seoul");
test_should_fail("+2d Asia/Seoul");