Closed danielmatzke closed 10 years ago
Hi Daniel,
Thanks for finding this. Can you send a pull request through please?
Also, I assume that the date should be interpreted in the machine/device's local time zone??
Cheers, Matt.
Hi Matt, sorry for letting you wait - will send you a pull request (soon) -Daniel
Fixed by pull request #31.
In ZipArchive.m, lines 354 to 356, the library creates an NSDate from the fileInfo.dosDate value.
The value is not a time interval since 1980, it is a bitfield that contains the date components individually:
It would be better to use the fileInfo.tmu_date property as follows: