2
0
mirror of https://github.com/araddon/dateparse.git synced 2026-08-16 02:45:43 +08:00

Fix ordinal parsing due to copy

This commit is contained in:
ferhat elmas
2019-04-26 01:42:47 +02:00
parent 2df4713d07
commit b0e14136e9
2 changed files with 2 additions and 1 deletions

View File

@@ -93,6 +93,7 @@ var testInputs = []dateTest{
{in: "September 17th 2012", out: "2012-09-17 00:00:00 +0000 UTC"},
{in: "September 7th, 2012", out: "2012-09-07 00:00:00 +0000 UTC"},
{in: "September 7th 2012", out: "2012-09-07 00:00:00 +0000 UTC"},
{in: "September 7tH 2012", out: "2012-09-07 00:00:00 +0000 UTC"},
{in: "May 1st 2012", out: "2012-05-01 00:00:00 +0000 UTC"},
{in: "May 1st, 2012", out: "2012-05-01 00:00:00 +0000 UTC"},
{in: "May 21st 2012", out: "2012-05-21 00:00:00 +0000 UTC"},