Skip to content

fix: support days in duration parsing#20

Open
luresun1988-bot wants to merge 2 commits into
tine1117:mainfrom
luresun1988-bot:patch-1
Open

fix: support days in duration parsing#20
luresun1988-bot wants to merge 2 commits into
tine1117:mainfrom
luresun1988-bot:patch-1

Conversation

@luresun1988-bot
Copy link
Copy Markdown

Fixes #1

Summary

  • adds the missing d day unit to the duration unit table
  • adds tests for standalone day parsing and combined day/hour/minute parsing

Tests

  • 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