Permalink
Browse files

Observe that we cannot now coerce a datetime from a number.

  • Loading branch information...
1 parent 552cab6 commit a24e79a979a4b72337a27ae53b0ee90651c73cee Dave Lambley committed Jan 4, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 t/11_datetime.t
View
5 t/11_datetime.t
@@ -122,4 +122,9 @@ lives_ok {
ok is_ISO8601DateTimeStr('15:03:56-01');
}
+{
+ is(to_ISO8601DateTimeStr(5), '1970-01-01T00:00:05Z');
+ is_ISO8601DateTimeStr(to_ISO8601DateTimeStr(time));
+}
+
done_testing;

0 comments on commit a24e79a

Please sign in to comment.