SwiftMoment
SwiftMoment copied to clipboard
Wrong date parsing
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