Skip to content

fix: support day duration unit#39

Open
380712766-dot wants to merge 1 commit into
tine1117:mainfrom
380712766-dot:fix-parse-duration-days
Open

fix: support day duration unit#39
380712766-dot wants to merge 1 commit into
tine1117:mainfrom
380712766-dot:fix-parse-duration-days

Conversation

@380712766-dot
Copy link
Copy Markdown

Summary

  • Add d to the supported duration units with a value of 86,400 seconds.
  • Add tests for 1d and 2d4h so day parsing stays covered.

Tests

Ran 8 tests locally with unittest: OK.

Closes #1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

parse_duration drops the days (d) unit

1 participant