Skip to content

Parse error with DD.MMM.YY format #2818

Description

@yahormakovich

Parse error with date format DD.MMM.YY, dayjs('29.Jul.21', 'DD.MMM.YY') returns Invalid Date.
Intresting that I tried old version like 1.8.16 and it works fine, but last 1.11.13 returns Invalid Date.

dayjs.extend(customParseFormat); is used of course.

  • Day.js Version 1.11.13
  • OS: Windows
  • Browser Edge

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions