Recognizers-Text
Recognizers-Text copied to clipboard
[TimexLib] Fixed first week of the year timex resolution
- Timex like '2021-W01', '2020-W01' are now resolved correctly
- Added a test case,
test_datatypes_resolver_dateRange_first_week
PR for issue #2685
yeah, this PR only changed the typo error of start to end and nothing with the logic of first week calculation. Looking into @nawans comment, I said it here, 2685#issuecomment-892932735 regarding calculation inconsistency. And also thoughts on this comment, 2685#issuecomment-892951931
And also, I think, we need to revisit quarters calculation as well, as the python one may not be following ISO standards.