From 0f774641240007584c5711b9b22facbc52bc2bb9 Mon Sep 17 00:00:00 2001 From: Philippe Horne Date: Wed, 19 Jun 2019 15:53:12 -0400 Subject: [PATCH] Added a test to cover the 4 year date when dealing with dates of the type 28-Feb-2018. --- parseany_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/parseany_test.go b/parseany_test.go index 23d93fc..2d92f43 100644 --- a/parseany_test.go +++ b/parseany_test.go @@ -216,6 +216,7 @@ var testInputs = []dateTest{ // dd-mmm-yy {in: "28-Feb-02", out: "2002-02-28 00:00:00 +0000 UTC"}, {in: "15-Jan-18", out: "2018-01-15 00:00:00 +0000 UTC"}, + {in: "15-Jan-2017", out: "2017-01-15 00:00:00 +0000 UTC"}, // yyyy-mm {in: "2014-04", out: "2014-04-01 00:00:00 +0000 UTC"}, // yyyy-mm-dd hh:mm:ss AM