dateparser
dateparser copied to clipboard
support for dates with dots and spaces
Closes #1010
this will support dates such as 26 .10.21
or 26 . 10.21
, in date 26 . 10.21
the first period was getting removed in sanitization even when it was between numerals only(surrounded by spaces) which was not needed. that is why changed the period sanitization regex a bit
Codecov Report
Merging #1028 (cabeaf4) into master (4490ca6) will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## master #1028 +/- ##
=======================================
Coverage 98.29% 98.29%
=======================================
Files 234 234
Lines 2694 2694
=======================================
Hits 2648 2648
Misses 46 46
Impacted Files | Coverage Δ | |
---|---|---|
dateparser/date.py | 99.24% <100.00%> (ø) |
|
dateparser/parser.py | 99.01% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 4490ca6...cabeaf4. Read the comment docs.
@Gallaecio sorry to bother but can you look into this PR? This is a regression for us (https://github.com/scrapinghub/dateparser/issues/1010) 🙏 Many thanks!
Can someone merge this to fix https://github.com/scrapinghub/dateparser/issues/1010 ? 🙏