@@ -, +, @@ --- t/DateUtils.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/t/DateUtils.t +++ a/t/DateUtils.t @@ -134,8 +134,8 @@ cmp_ok( $dt0->epoch(), 'eq', '1325462340', 'dt_from_string handles seconds with $dt0 = dt_from_string( '2012-01-01t23:59:59.999z', 'rfc3339' ); cmp_ok( $dt0->epoch(), 'eq', '1325462399', 'dt_from_string handles seconds with 3 decimal places' ); -$dt0 = dt_from_string( '2012-01-01T23:59:59.999Z+02:00', 'rfc3339' ); -cmp_ok( $dt0->epoch(), 'eq', '1325462399', 'dt_from_string handles seconds with 3 decimal places and a timezone' ); +$dt0 = dt_from_string( '2012-01-01T23:59:59.999+02:00', 'rfc3339' ); +cmp_ok( $dt0->epoch(), 'eq', '1325455199', 'dt_from_string handles seconds with 3 decimal places and a timezone' ); # Return undef if passed mysql 0 dates $dt0 = dt_from_string( '0000-00-00', 'iso' ); --