akoumjian / datefinder

Find dates inside text using Python and get back datetime objects
http://datefinder.readthedocs.org/en/latest/
MIT License
634 stars 166 forks source link

Add is_day_first parameter #104

Closed nanaky92 closed 2 years ago

nanaky92 commented 5 years ago

Add is_day_first for dateutil parser so we have the option whether to interpret the first value in an ambiguous 3-integer date (e.g. 01/05/09) as the day (True) or month (False)

gbroques commented 5 years ago

@nanaky92 It looks like this test is failing because "This Tuesday March 2015 in the evening" shouldn't result in any matches in strict mode.

akoumjian commented 2 years ago

Latest master has first option. It will be on pip soon.