New date format September 17, 2012... closes #49

This commit is contained in:
Aaron Raddon
2018-03-15 19:06:38 -07:00
parent a769f5a7a1
commit cc9d69bbea
4 changed files with 14 additions and 0 deletions

View File

@@ -586,6 +586,13 @@ iterRunes:
switch {
case r == ' ':
if i > 4 {
// September 17, 2012 at 5:00pm UTC-05
// This one doesn't follow standard parse methodologies. the "January"
// is difficult to use the format string replace method because of its variable-length (march, june)
// so we just use this format here. If we see more similar to this we will do something else.
return parse("January 02, 2006 at 3:04pm MST-07", datestr, loc)
}
p.stateDate = dateAlphaWs
case r == ',':
// p.moi = 0