You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The position where I add that additional rule is important. For example adding it at the end of the list instead of at index 1 makes the test fail again.
I bumped into this issue for PR #28 , where I try to reduce the number of rules that are used for parsing to improve the performance.
The text was updated successfully, but these errors were encountered:
This might be an issue with
retree
rather than with thedateparser
though.The following test (which you cannot execute via the public API) fails:
Note how those 3 rules should be sufficient to parse the date.
However, during parsing the zoneoffset rule is never used. Instead, it uses the rule for the hours twice.
The weird thing is that when I add a rule that should not be used (`" ?(?\d{4})$"), the test suddenly succeeds:
The position where I add that additional rule is important. For example adding it at the end of the list instead of at index 1 makes the test fail again.
I bumped into this issue for PR #28 , where I try to reduce the number of rules that are used for parsing to improve the performance.
The text was updated successfully, but these errors were encountered: