fix: assume current year for formats without it#1288
fix: assume current year for formats without it#1288Gallaecio merged 6 commits intoscrapinghub:masterfrom NTFSvolume:fix_dates_no_year
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1288 +/- ##
==========================================
+ Coverage 96.58% 96.60% +0.02%
==========================================
Files 235 235
Lines 2866 2886 +20
==========================================
+ Hits 2768 2788 +20
Misses 98 98 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Seems like you need a minor change for Python 3.10 support in tests. |
|
|
||
| @parameterized.expand( | ||
| [ | ||
| param(date_string="oct 14", fmt=r"%m %d"), |
There was a problem hiding this comment.
Maybe adding more cases here? Like "14-October-2025" which also triggers the warning on my side; and at least the original test case from the issue: "2024-11-27"?
There was a problem hiding this comment.
Done. I added them to the parser tests
|
Fixed compat issues with python 3.9/3.10 and added some additional tests |
|
Works for me, thanks @NTFSvolume 🥂 |
|
Thanks! |
|
Could we please get a release that includes this fix? |
Uh oh!
There was an error while loading. Please reload this page.