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

Should Be Able to Parse UTC Offsets Without ":" #56

Closed ncronquist closed 8 years ago

ncronquist commented 8 years ago

The UTC Offset for an ISO 8601 formatted date-time includes an optional ":" as noted in Moment's UTC Offset section and Wikipedia's Time zone designators section.

Currently the regexTimezone requires the ":".

Incoming pull request to make the ":" optional.