-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I use 1.2 version of the parser and receive such response, that i think is inconsistent with others:
from daterangeparser import parse as parse_daterange
parse_daterange("to 5Jul2015")
>> (datetime.datetime(2015, 7, 1, 0, 0), datetime.datetime(2015, 7, 5, 0, 0))
So, it returns correct end_date, but unexpected start_date equals to the start of that month. I expect to have None as the start_date.
For instance, if I parse another the close string, it behaves right (form my point of view):
from daterangeparser import parse as parse_daterange
parse_daterange("from 5Jul2015")
>> (datetime.datetime(2015, 7, 5, 0, 0), None)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels