+
Skip to content
This repository was archived by the owner on Feb 3, 2020. It is now read-only.
This repository was archived by the owner on Feb 3, 2020. It is now read-only.

Wrong date parsing  #107

@ghost

Description

Detailed Description

When I try to parse the date in specific format I get one year backdate.

Possible Implementation

let day = moment("178-06-2019", dateFormat: "DD-MM-YYYY") returns // 2018-12-23 00:00:00 GMT+05:30

Your Environment

  • Version used: (0.7)
  • Operating System and version: Xcode Playground

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

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载