Skip to content

fix: include days in duration parsing#32

Open
Lequanganh241209 wants to merge 1 commit into
tine1117:mainfrom
Lequanganh241209:codex/fix-days-duration
Open

fix: include days in duration parsing#32
Lequanganh241209 wants to merge 1 commit into
tine1117:mainfrom
Lequanganh241209:codex/fix-days-duration

Conversation

@Lequanganh241209
Copy link
Copy Markdown

Summary:

  • Add d to the duration unit table as 86400 seconds.
  • Add unit tests for parse_duration 1d and 2d4h.

Tests:

  • bundled python -m unittest discover -s tests

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