mirror of
https://github.com/araddon/dateparse.git
synced 2025-09-18 04:48:17 +08:00
Fix ambiguous mm/dd that start with weekday
Options were not being properly passed to recursive parseTime call.
This commit is contained in:
@@ -1259,7 +1259,7 @@ iterRunes:
|
||||
// using skip throws off indices used by other code; saner to restart
|
||||
newDateStr := p.datestr[i+1:]
|
||||
putBackParser(p)
|
||||
return parseTime(newDateStr, loc)
|
||||
return parseTime(newDateStr, loc, opts...)
|
||||
}
|
||||
|
||||
// X
|
||||
|
Reference in New Issue
Block a user