Skip to content
This repository has been archived by the owner on Nov 24, 2018. It is now read-only.

Fix usage of deprecated Moment.js constructor #51

Open
philippd opened this issue Nov 18, 2014 · 2 comments
Open

Fix usage of deprecated Moment.js constructor #51

philippd opened this issue Nov 18, 2014 · 2 comments
Labels

Comments

@philippd
Copy link
Collaborator

moment construction using a non-iso string has been deprecated, see moment/moment#1407

We currently use this constructor in the future and past validators. Check the issue above for possible solutions.

@philippd philippd added the core label Nov 18, 2014
@marcelstoer
Copy link
Collaborator

Then we might as well dump moment if I'm not mistaken. IIRC we only added it because it offered "sane" string-to-date parsing which pure JavaScript doesn't.

@philippd
Copy link
Collaborator Author

You're right, we should think of a better solution for the date validators.

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

No branches or pull requests

2 participants