-
Notifications
You must be signed in to change notification settings - Fork 547
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exact whitespace and timezone colon parsing
Be exact about allowed whitespace around and between data and parsing formats for all parsing. Except RFC 2822 which explicitly allows arbitrary whitespace. For timezone colons dividing hours and seconds, limit variations to `":"`, `" "`, `" :"`, `": "`, or `" : "`. Previously chrono allowed unlimited whitespace and colons to divide a timezone, e.g. the unusual string `"09: : : ::: :00"` could be a valid timezone (it shouldn't). Issue #660
- Loading branch information
Showing
9 changed files
with
421 additions
and
208 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
Oops, something went wrong.