Skip to content

Moment.js overflows in parsing #235

@nailor

Description

@nailor

When doing a parsing on a nonexistent date, moment "overflows", eg.

moment("2011-01-41")

is parsed as February 10th 2011. The date parser could probably throw an exception or indicate that there's been an error returning null/False or something else, that can't be mixed with a date.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions