-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: calculate the duration between two dates (across timezones) (#8)
example: calculateDuration('2024-10-10', '2024-10-13', 'UTC', 'days') → 3 days example: calculateDuration('2024-10-10', '2024-10-13', 'UTC', 'hours')-> 72 hours example: calculateDuration('2024-10-10', '2024-10-13', 'UTC', 'minutes')-> 4320 minutes
- Loading branch information
1 parent
158f75e
commit fe7c2d1
Showing
3 changed files
with
87 additions
and
9 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