Add unit test for format for #62

This commit is contained in:
Aaron Raddon
2018-07-10 18:53:48 -07:00
parent b703960732
commit 089f77b1d9
2 changed files with 2 additions and 1 deletions

View File

@@ -443,6 +443,7 @@ var testParseFormat = []dateTest{
{in: "5,000-9,999", err: true},
//
{in: "oct 7, 1970", out: "Jan 2, 2006"},
{in: "sept. 7, 1970", out: "Jan. 2, 2006"},
// 03 February 2013
{in: "03 February 2013", out: "02 January 2006"},
// 13:31:51.999 -07:00 MST