Closed
Description
When adding a folder to a ZipFile using ZipFile#addFolder(File, ZipParameters)
with ZipParameters#lastModifiedFileTime
configured to some value such as 1
, this value is ignored.
I believe that the reason for this behavior can be found here, as the lastModifiedFileTime
just gets set to epochToExtendedDosTime((fileToAdd.lastModified()))
.
Metadata
Metadata
Assignees
Labels
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
[-]ZipParameters lastModifiedTime is ignored when adding folder[/-][+]ZipParameters lastModifiedTime is ignored[/+]#434 Use last modified file time from ZipParameters
#434 Use system time if last modified file time is not set
srikanth-lingala commentedon Jun 20, 2022
Issue fixed. I will include the fix in the next release.
srikanth-lingala commentedon Jun 20, 2022
Fixed in v2.11.0 released today