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

Fix moment-utils startOfDay, endOfDay #266

Merged
merged 1 commit into from
Mar 9, 2018
Merged

Fix moment-utils startOfDay, endOfDay #266

merged 1 commit into from
Mar 9, 2018

Conversation

chrumck
Copy link

@chrumck chrumck commented Mar 8, 2018

  • I have changed my target branch to develop 👊

#260

Description

The two methods in moment-utils invoke moment().startOf and
moment().endOf which mutate the original value. The call to clone() has
to be added in order to prevent that.

The two methods in moment-utils invoke moment().startOf and
moment().endOf which mutate the original value. The call to clone() has
to be added in order to prevent that.
@dmtrKovalenko dmtrKovalenko merged commit 16468cb into mui:develop Mar 9, 2018
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.

2 participants