Permalink
Browse files

Time to DOSTime.

  • Loading branch information...
1 parent 35fd606 commit 2f27e15befd247255d89f9120eeee44851b82c4a @LuckOfWise LuckOfWise committed Aug 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 rakefile
View
@@ -303,7 +303,7 @@ module Zip
continueOnExistsProc ||= proc { false }
check_entry_exists(entry, continueOnExistsProc, "add")
newEntry = entry.kind_of?(ZipEntry) ? entry : ZipEntry.new(@name, entry.to_s, "", "", 0, 0,
- ZipEntry::DEFLATED, 0, time = Time.local(2000,"jan",1,0,0,0))
+ ZipEntry::DEFLATED, 0, time = DOSTime.local(2000,"jan",1,0,0,0))
newEntry.gather_fileinfo_from_srcpath(srcPath)
@entrySet << newEntry
end

0 comments on commit 2f27e15

Please sign in to comment.