X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/30d7af10d208006ea09f32bd006c2cb2556a36ac..1501ba7566a0069a72b4bcca7e60f1e51878c4e5:/spec/parse_spec.lua?ds=sidebyside diff --git a/spec/parse_spec.lua b/spec/parse_spec.lua index f66015a..71df5fb 100644 --- a/spec/parse_spec.lua +++ b/spec/parse_spec.lua @@ -6,7 +6,7 @@ describe ( "Time parsing library" , function ( ) assert.same ( timetable.new(2013,10,22,14,17,02) , (parse.rfc_3339 "2013-10-22T14:17:02Z") ) -- Numeric offsets accepted - assert.same ( { timetable.new(2013,10,22,14,17,02) , 10*60 } , { parse.rfc_3339 "2013-10-22T14:17:02+10:00" } ) + assert.same ( { timetable.new(2013,10,22,14,17,02) , 10*3600 } , { parse.rfc_3339 "2013-10-22T14:17:02+10:00" } ) -- Missing offsets parse assert.same ( timetable.new(2013,10,22,14,17,02) , (parse.rfc_3339 "2013-10-22T14:17:02") )