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

Add Duration.clone() #4078

Closed
ishitatsuyuki opened this issue Jul 21, 2017 · 1 comment · Fixed by LiteHell/js-namumark#3 or willmorgan/heavysignal.co.uk#2
Closed

Add Duration.clone() #4078

ishitatsuyuki opened this issue Jul 21, 2017 · 1 comment · Fixed by LiteHell/js-namumark#3 or willmorgan/heavysignal.co.uk#2

Comments

@ishitatsuyuki
Copy link

Duration lacks the ability to clone (and even no copy constructor), while the arithmetic methods mutates the object. It should have clone().

ashsearle added a commit to ashsearle/moment that referenced this issue Jul 21, 2017
@maggiepint
Copy link
Member

closed #4080

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