From 95f862fdd82a99e30bbf2c43009ec9a51e416804 Mon Sep 17 00:00:00 2001
From: Tavian Barnes <tavianator@tavianator.com>
Date: Thu, 13 Feb 2020 16:30:05 -0500
Subject: parse: Handle 1969-12-31T23:59:59Z

mktime() returns -1 on error, but also for one second before the epoch.
Compare the input against localtime(-1) to distinguish those cases.
---
 tests/test_newermt_epoch_minus_one.out | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 tests/test_newermt_epoch_minus_one.out

(limited to 'tests')

diff --git a/tests/test_newermt_epoch_minus_one.out b/tests/test_newermt_epoch_minus_one.out
new file mode 100644
index 0000000..f7f63b0
--- /dev/null
+++ b/tests/test_newermt_epoch_minus_one.out
@@ -0,0 +1,5 @@
+times
+times/a
+times/b
+times/c
+times/l
-- 
cgit v1.2.3