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

Make sure no Date constructor is used in tests #1577

Merged
merged 1 commit into from
Apr 2, 2014

Conversation

ichernev
Copy link
Contributor

@ichernev ichernev commented Apr 2, 2014

This is step one for deprecating the Date constructor. First merge #1564 to get the deprecate function and actually deprecate the newly extracted function so it'd print a warning if moment construction hits Date.

@icambron
Copy link
Member

icambron commented Apr 2, 2014

Looks good.

icambron added a commit that referenced this pull request Apr 2, 2014
Make sure no Date constructor is used in tests
@icambron icambron merged commit ba96963 into moment:develop Apr 2, 2014
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.

None yet

2 participants