-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix allow negative dates with from [-100,-999]
A bug exists where a date like `-100.11.12` will be incorrectly parsed as the fast path fails and then fallsback to trying to parse the synthetic input for the fast path. This code fixes this by having the fast path return none in the advent that it can't handle the input. Benchmarks remain unaffected.
- Loading branch information
1 parent
17c889b
commit 4a00cf1
Showing
2 changed files
with
57 additions
and
27 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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