broquaint/Gitalist — Issue #35: Installation fails if MooseX::Types::ISO8601 >= 0.09
Author: yibe
Created: 2012-01-23 01:47:41+00:00
State: open

When I ran the tests of the latest release, I got a bunch of "cannot coerce non-UTC time" error messages due to [this change of MooseX::Types::ISO8601](https://metacpan.org/diff/release/DLAMBLEY/MooseX-Types-ISO8601-0.08/DLAMBLEY/MooseX-Types-ISO8601-0.09).
For the tests to pass, you can just use `$_[0]->ymd('-') . 'T' . $_[0]->hms(':') . 'Z'` instead of `to_ISO8601DateTimeStr(shift)` in Gitalist::Git::Types. But I wonder if it is right to just add a "Z" even for non-UTC datetimes, although it is expected in t/02git_{Repository,object}.t.