Use MooseX::Types::ISO8601 coercion behaviour without the coercion.
[catagits/Gitalist.git] / lib / Gitalist / Git / Types.pm
index ad934f6..7241cf8 100644 (file)
@@ -32,7 +32,7 @@ MooseX::Storage::Engine->add_custom_type_handler(
             Carp::confess("Not implemented");
         },
         collapse => sub {
-            to_ISO8601DateTimeStr(shift);
+            $_[0]->ymd('-') . 'T' . $_[0]->hms(':') . 'Z' 
         },
 );