Subject: | Archive::Zip Modify Date Oddity |
Date: | Wed, 4 Jan 2017 08:24:47 +0800 |
To: | bug-Archive-Zip [...] rt.cpan.org |
From: | Len Chin <lenchin [...] gmail.com> |
I have observed that using Perl Archive::Zip library in Unix, it round down
the original file Modify date to lower even-seconds. Verified from
information from another forum user and testing. Whether this is to mimick
windows timestamp, it is not desirable.
It is not the case when tested using Windows GUI or Unix prompt to zip
file, it does not modify the original Modify date of the file.
http://www.perlmonks.org/?node_id=1178835
The Zip (file format)
<http://en.wikipedia.org/wiki/Special:Search?search=Zip%20%28file%20format%29>
uses
FAT timestamps which only have a resolution of two seconds.