1. Peter Hosey
  2. ISO 8601 parser/unparser
Issue #2 new

Time zone conversion is broken

Peter Hosey
repo owner created an issue

# Apply attached patch. # Run unparse-date as follows: {{{./unparse-date 2010-07-12T12:48-0700}}}

=== Correct result ===

{{{ 2010-07-12T19:48Z }}}

=== Actual result ===

{{{ 2010-07-12T12:48Z }}}

(Same time, only with the time zone part swapped.)

=== Credit ===

Marc Rhodes via email.