-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add day suffix support to ParseDurationSecond (#13)
* Add day suffix support to ParseDurationSecond Add support for a "d" suffix that corresponds to 24 hours. Also add more test cases and slightly refactor the code. * Revert to ParseInt * Refactor logic order * Add test
- Loading branch information
Jim Kalafut
committed
Oct 27, 2021
1 parent
f277d31
commit 39924fb
Showing
2 changed files
with
81 additions
and
28 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