moment is deprecating non iso strings for parsing dates
Opened this issue · 0 comments
silkentrance commented
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)?