-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stdlib] Fix a couple of issues in Duration.parse KT-72380
- `PT000000000000000000000000000H` expected to be zero, but parsed as an infinite duration - `PT000000000000000000000000001S` expected to be 1 second, but parsed as an infinite duration - `PT+-2H` expected to be an incorrect value, but parsed as "-2 hours" Co-authored-by: Dmitry Khalanskiy <dmitry.khalanskiy@jetbrains.com>
- Loading branch information
1 parent
8d0725f
commit a4804ed
Showing
2 changed files
with
20 additions
and
10 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