Skip to content

Don't throw on ms('0 days')#23

Open
melusc wants to merge 2 commits into
knpwrs:masterfrom
melusc:allow-zero
Open

Don't throw on ms('0 days')#23
melusc wants to merge 2 commits into
knpwrs:masterfrom
melusc:allow-zero

Conversation

@melusc

@melusc melusc commented Aug 29, 2023

Copy link
Copy Markdown

This fixes a bug where ms('0 days') or anything that returns 0 would throw with "Invalid input given to ms.macro at line {}".

@melusc melusc changed the title Allow code like ms('0 days') Don't throw on ms('0 days') Aug 29, 2023
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.

1 participant