new format "2 January 2006" closes #36

This commit is contained in:
Aaron Raddon
2018-01-24 17:59:25 -08:00
parent afa6a0f934
commit f912f7e43f
4 changed files with 43 additions and 14 deletions

View File

@@ -23,6 +23,7 @@ var examples = []string{
"Fri Jul 03 2015 18:04:07 GMT+0100 (GMT Daylight Time)",
"12 Feb 2006, 19:17",
"2013-Feb-03",
"03 February 2013",
// mm/dd/yy
"3/31/2014",
"03/31/2014",
@@ -135,6 +136,7 @@ func main() {
| Fri Jul 03 2015 18:04:07 GMT+0100 (GMT Daylight Time) | 2015-07-03 18:04:07 +0100 GMT |
| 12 Feb 2006, 19:17 | 2006-02-12 19:17:00 +0000 UTC |
| 2013-Feb-03 | 2013-02-03 00:00:00 +0000 UTC |
| 03 February 2013 | 2013-02-03 00:00:00 +0000 UTC |
| 3/31/2014 | 2014-03-31 00:00:00 +0000 UTC |
| 03/31/2014 | 2014-03-31 00:00:00 +0000 UTC |
| 08/21/71 | 1971-08-21 00:00:00 +0000 UTC |