Skip to content
Permalink
Browse files
Fix test to run on leap days
Fixes GH #33

This test tries to build a date from the hard-coded year 1999, and the month
and day of the date it gets run. This will always fail on February 29th.

Hard-coding a leap year instead of 1999 fixes the problem.

(cherry picked from commit f7165548fcc818214699fe499e14b61aa621d380)
Signed-off-by: Nicolas R <cpan@atoomic.org>
  • Loading branch information
arc authored and atoomic committed Mar 4, 2020
1 parent 33e53a3 commit 3629e8f22a69191c46e4327273451fdd2753b33c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -62,7 +62,7 @@ Mon, 21 Nov 94 14:34:28 -0500
Fri, 18 Nov 1994 12:05:47 -0800 (PST)
Fri, 18 Nov 1994 12:36:26 -0800 (PST)
Wed, 16 Nov 1994 15:58:58 GMT
1999 10:02:18 "GMT"
2000 10:02:18 "GMT"
Sun, 06 Nov 94 14:27:40 -0500
Mon, 07 Nov 94 08:20:13 -0500
Mon, 07 Nov 94 16:48:42 -0500

0 comments on commit 3629e8f

Please sign in to comment.