test/test_properties.rb in writeexcel-1.0.1 vs test/test_properties.rb in writeexcel-1.0.2

- old
+ new

@@ -7,13 +7,14 @@ def setup @workbook = WriteExcel.new(StringIO.new) end def test_pack_VT_FILETIME + filetime = assert_equal( '40 00 00 00 00 FD 2D ED CE 48 CE 01', - unpack_record(pack_VT_FILETIME(Time.local(2013, 5, 4, 22, 54, 42))) + unpack_record(pack_VT_FILETIME(Time.gm(2013, 5, 4, 13, 54, 42))) ) end def test_create_summary_property_set assert_equal( @@ -24,10 +25,10 @@ [2, "VT_LPSTR", "This is an example spreadsheet"], [3, "VT_LPSTR", "With document properties"], [4, "VT_LPSTR", "Hideo NAKAMURA"], [5, "VT_LPSTR", "Sample, Example, Properties"], [6, "VT_LPSTR", "Created with Ruby and WriteExcel"], - [12, "VT_FILETIME", Time.local(2013, 5, 4, 21, 47, 16)] + [12, "VT_FILETIME", Time.gm(2013, 5, 4, 12, 47, 16)] ] )) ) end end