gr2m / moment-parseformat

A moment.js plugin to extract the format of a date/time string
http://gr2m.github.io/moment-parseformat
Apache License 2.0
45 stars 30 forks source link

Parsing fractional seconds #36

Closed mgd134 closed 8 years ago

mgd134 commented 8 years ago

Hi,

We really like your library. Thanks for the work. We've noticed that the library doesn't produce the correct output for fractional seconds until the input gets all the way to milliseconds. I have modified the code in my fork so that it will parse tenths and hundredths of a second properly. Would you like me to submit a pull request?

Mike

gr2m commented 8 years ago

Hey Mike, sure, pull requests are always more than welcome, thanks for sharing!

gr2m commented 8 years ago

done via #37