Skip to content

Fix days unit parsing#37

Open
tivanovic21 wants to merge 1 commit into
tine1117:mainfrom
tivanovic21:fix-days-duration-unit
Open

Fix days unit parsing#37
tivanovic21 wants to merge 1 commit into
tine1117:mainfrom
tivanovic21:fix-days-duration-unit

Conversation

@tivanovic21
Copy link
Copy Markdown

Fixes #1
/claim #1

Summary

  • Added support for the d duration unit as 86400 seconds.
  • Added regression tests for 1d and 2d4h.

Test

  • python -m unittest discover -s tests

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