scrapinghub / dateparser

python parser for human readable dates
BSD 3-Clause "New" or "Revised" License
2.55k stars 465 forks source link

Is not parsing properly the Last-Modified header value when is a Monday #1116

Closed rustico closed 1 year ago

rustico commented 1 year ago

Hi,

Just in case, in the previous version we were able to parse the following 'Mon, 05 Dec 2022 19:43:03 GMT' without any problem and now is returning None.

This is happening only when is Monday.

It could be related to this commit: https://github.com/scrapinghub/dateparser/commit/89a5b29517a358e2784cc818687b7b6bed343159 ?

Thank you!

Best, Nicolas.

Gallaecio commented 1 year ago

I have confirmed https://github.com/scrapinghub/dateparser/commit/89a5b29517a358e2784cc818687b7b6bed343159 as the cause.

serhii73 commented 1 year ago

I created a new issue where 1mon ago will be fixed.