Open wurmr opened 8 years ago
This parsing works if the year is > 31.
moment.parseFormat('30/01/81')
yields the expected results.
oh wow, good catch! Could you send a pull request for it? You can add a testcase here: https://github.com/gr2m/moment-parseformat/blob/master/test/moment-parseformat-test.js and then fix it in https://github.com/gr2m/moment-parseformat/blob/master/lib/parseformat.js
Please let me know if you have any questions, especially if you did not yet send a pull request before, I’m happy to assist
moment.parseFormat('30/01/16')
parsed toMM/DD/YY
, I expected:DD/MM/YY