dateparser icon indicating copy to clipboard operation
dateparser copied to clipboard

support for dates with dots and spaces

Open atharmohammad opened this issue 2 years ago • 2 comments

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

atharmohammad avatar Dec 18 '21 16:12 atharmohammad

Codecov Report

Merging #1028 (cabeaf4) into master (4490ca6) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           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.

codecov[bot] avatar Dec 18 '21 16:12 codecov[bot]

@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!

jc-louis avatar Jun 22 '22 13:06 jc-louis

Can someone merge this to fix https://github.com/scrapinghub/dateparser/issues/1010 ? 🙏

jc-louis avatar Aug 17 '22 16:08 jc-louis