-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a regex checker and fixer for offsets without colons for ZDateT…
…ime and OSDateTime (#208) * Added a regex checker and fixer for offsets without colons for ZonedDateTime and OffsetDateTime. * Added check at start of regex to avoid parsing plus and negative years ... * Added additional tests for ISO8601_COLONLESS_OFFSET_REGEX expression and recommented on regex expression usage in production. * Altered the Regex format for checking datetime offsets. Previously the string checked the whole string beyond the start, now it checks at the end or before [. Co-authored-by: oh <[email protected]>
- Loading branch information
Showing
4 changed files
with
154 additions
and
0 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
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