Skip to content

moment is deprecating non iso strings for parsing dates #41

@silkentrance

Description

@silkentrance

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)?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions