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

Handle invalid Durations in toHuman and toMillis #1489

Merged

Conversation

diesieben07
Copy link
Collaborator

Fixes #1488
I've also added tests so that this behavior is no longer broken in the future.

@icambron It would be good to get this out as 3.4.1 relatively quickly, considering this is a regression.

@icambron icambron merged commit 559a212 into moment:master Aug 22, 2023
2 checks passed
@icambron
Copy link
Member

@diesieben07 thanks. I'd also like to fix #1482. I'll see if I can get to that now.

@icambron
Copy link
Member

Released in 3.4.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.

Breaking regression from 3.3.0 to 3.4.0 in milliseonds
2 participants