MadMG / moment-jdateformatparser

Translates the `java.text.SimpleDateFormat` date format to the `moment.js` date format.
MIT License
58 stars 29 forks source link

Module support #16

Closed thuringia closed 8 years ago

thuringia commented 8 years ago

In order to resolve issues with our webpack build, I ported the file to an es2015 class.

There are no changes to how the module works. I also updated the unit tests and readme as this introduces a break in the API.

herom commented 8 years ago

Hey @thuringia, thanks a lot for your PR!

As the changes you made are rather HUGE and also changing the way the jdateformatparser is used (not as 'plugin' of the moment library but a standalone instance which needs a moment object to get set... please correct me if I'm wrong) we can't accept this PR, sorry.

Please feel free to fork the library and release it on npm, bower, etc. :+1: