As of 0.09 the type constraints from MooseX::Types::ISO8601 are stricter (and
more correct AIUI) so we just use the coercion code without attempting a
coercion directly.
Carp::confess("Not implemented");
},
collapse => sub {
- to_ISO8601DateTimeStr(shift);
+ $_[0]->ymd('-') . 'T' . $_[0]->hms(':') . 'Z'
},
);