Closed tgrrtt closed 9 years ago
wanna try send a pull request to add it? I wonder if we can make it work without adding to much complexity to it
I got something working, but then I realized that there's this behavior which complicates things a little bit ... https://github.com/gr2m/moment.parseFormat/issues/24
Alternatively, that issue could be side-stepped by attempting to replace an ISO formatted Hours, Minutes, Seconds, and Ms first, like so /\d{2}:\d{2}:\d{2}\.\d{3}/
then attempt to replace other formats, so the current leading zero behavior could just stay the same.
There is currently only support for the following:
This does not have support for negative offset, or MS. Forthcoming PR with support for the following: