Merge pull request #225 from ShockwaveNN/patch-1
Fix #218 Ouput Invalid Date/Time error to STDERR
This commit is contained in:
commit
daf3c28c5c
|
|
@ -571,7 +571,7 @@ module Zip
|
|||
def set_time(binary_dos_date, binary_dos_time)
|
||||
@time = ::Zip::DOSTime.parse_binary_dos_format(binary_dos_date, binary_dos_time)
|
||||
rescue ArgumentError
|
||||
puts "Invalid date/time in zip entry" if ::Zip.warn_invalid_date
|
||||
STDERR.puts "Invalid date/time in zip entry" if ::Zip.warn_invalid_date
|
||||
end
|
||||
|
||||
def create_file(dest_path, continue_on_exists_proc = proc { Zip.continue_on_exists_proc })
|
||||
|
|
|
|||
Loading…
Reference in New Issue