I am wondering if there is a way of catching exceptions that are
thrown within rubyzip.rb.
in rubyzip line 583,
def set_time(binaryDosDate, binaryDosTime)
@time = Time.parse_binary_dos_format(binaryDosDate,
puts "Invalid date/time in zip entry"
I need to be able to 'catch' the exception thrown here, as my app
needs to reject zip files that have invalid date/timestamps
is there a way of doing this before/during opening the zip file?
Thank you in advance