Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow negative durations? #731

Closed
thojanssens opened this issue Jul 7, 2020 · 1 comment
Closed

Allow negative durations? #731

thojanssens opened this issue Jul 7, 2020 · 1 comment

Comments

@thojanssens
Copy link

I'm having the following error when specifying a negative duration:

ecmascript.mjs:363 Uncaught (in promise) RangeError: negative values not allowed as duration fields

Does that mean that I have to bloat my code with if's to call the appropriate function plus/minus according to the sign of the given duration?

@ptomato
Copy link
Collaborator

ptomato commented Jul 7, 2020

Yes, negative durations seems to be the area that we are getting the strongest feedback about. The current discussion is on #558, so I'd like to consolidate this into that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants