Repository navigation
Conversation
Will not actually work until a Pytest version with the following commit is
released:
pytest-dev/pytest@19e99ab
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #790 +/- ##
=======================================
Coverage 99.22% 99.22%
=======================================
Files 239 239
Lines 4256 4284 +28
=======================================
+ Hits 4223 4251 +28
Misses 33 33 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
AdrianAtZyte
marked this pull request as ready for review
September 29, 2026 10:38
1 task done
serhii73
reviewed
Nov 18, 2026
serhii73
left a comment
Collaborator
There was a problem hiding this comment.
Not approving yet. Please check these:
dictionary.py(around line 512): withNORMALIZE=True, the normalisation seems to drop merged meanings for every locale.- The ISO parser returns period
timewhenRETURN_TIME_AS_PERIODis off. Is that intended? - Bare
YYYYMMDDstrings now parse insidesearch_dateschunks. Is that intended?
The branch also conflicts with master.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #867, fixes #939.
Adds an
isoparser, enabled by default, for complete ISO 8601 dates, optionally with a time, in both the extended (2021-06-29T12:30:45Z) and basic (20210629T123045Z) formats. Fractional seconds accept both.and,, and time zones go through the same handling as other parsers, soTIMEZONE,TO_TIMEZONEandRETURN_AS_TIMEZONE_AWAREapply.It is locale-agnostic, so it runs after all locale parsers, regardless of its position in
PARSERS. That meansno-spaces-time, if enabled, still wins for strings like20210101, and gets them wrong.It also parses the
date --iso-8601=nsoutput from #914, which overlaps with #1467.date --iso-8601=hoursstill does not parse, since times without minutes are not supported.Not implemented: years (
2020,+00002020), months (2020-01), weeks (2020-W01), ordinal dates (2020-094),24:00:00, times without dates or without minutes, decimal minutes, and±hhoffsets. I think it makes sense to implement those separately, based on user demand.