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

Wrong date parsing #107

Open
designway opened this issue Jun 26, 2019 · 0 comments
Open

Wrong date parsing #107

designway opened this issue Jun 26, 2019 · 0 comments

Comments

@designway
Copy link

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants