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

moment is deprecating non iso strings for parsing dates #41

Open
silkentrance opened this issue Jan 12, 2015 · 0 comments
Open

moment is deprecating non iso strings for parsing dates #41

silkentrance opened this issue Jan 12, 2015 · 0 comments

Comments

@silkentrance
Copy link

Found this when running the latest grunt-changelog:

Deprecation warning: moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to moment/moment#1407 for more info.

Of course, the arguments passed to moment are non dates, e.g. 'commit' and 'v1.1.2'.

Perhaps grunt-changelog should try/catch moment(mightbeadatetime)?

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

No branches or pull requests

2 participants