test: add some more time tests

Ensure the seconds are set properly.
This commit is contained in:
Jani Nikula 2015-03-02 19:47:02 +02:00 committed by David Bremner
parent fd80a9cac1
commit 65dee41fb6

View file

@ -51,6 +51,11 @@ Aug 3 23:06:06 2012 ==> Fri Aug 03 23:06:06 +0000 2012 # date(1) def
Fri, 03 Aug 2012 23:07:46 +0100 ==> Fri Aug 03 22:07:46 +0000 2012 # rfc-2822 Fri, 03 Aug 2012 23:07:46 +0100 ==> Fri Aug 03 22:07:46 +0000 2012 # rfc-2822
2012-08-03 23:09:37+03:00 ==> Fri Aug 03 20:09:37 +0000 2012 # rfc-3339 seconds 2012-08-03 23:09:37+03:00 ==> Fri Aug 03 20:09:37 +0000 2012 # rfc-3339 seconds
10:30:40 ==> Tue Jan 11 10:30:40 +0000 2011
10:30:40 ==^> Tue Jan 11 10:30:40 +0000 2011
10:30:40 ==^^> Tue Jan 11 10:30:40 +0000 2011
10:30:40 ==_> Tue Jan 11 10:30:40 +0000 2011
10s ==> Tue Jan 11 12:13:04 +0000 2011 10s ==> Tue Jan 11 12:13:04 +0000 2011
19701223s ==> Fri May 28 11:39:31 +0000 2010 19701223s ==> Fri May 28 11:39:31 +0000 2010
19701223 ==> Wed Dec 23 12:13:14 +0000 1970 19701223 ==> Wed Dec 23 12:13:14 +0000 1970