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 formats for all parsing. Except RFC 2822 format 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 be). Issue #660
- Loading branch information
Showing
9 changed files
with
415 additions
and
193 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.