Skip to content

Fix parse_duration to handle days (d) unit#63

Open
desh16gmz wants to merge 2 commits into
tine1117:mainfrom
desh16gmz:fix/duration-days-1
Open

Fix parse_duration to handle days (d) unit#63
desh16gmz wants to merge 2 commits into
tine1117:mainfrom
desh16gmz:fix/duration-days-1

Conversation

@desh16gmz

Copy link
Copy Markdown

Summary

Fixed parse_duration to properly handle the 'd' (days) unit. Added 'd' to the regex pattern and mapping it to 86400 seconds.

Closes #1

/claim #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