Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZipParameters lastModifiedTime is ignored #434

Closed
NichtStudioCode opened this issue Jun 4, 2022 · 2 comments
Closed

ZipParameters lastModifiedTime is ignored #434

NichtStudioCode opened this issue Jun 4, 2022 · 2 comments
Assignees
Labels
bug Something isn't working resolved

Comments

@NichtStudioCode
Copy link

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())).

@NichtStudioCode NichtStudioCode changed the title ZipParameters lastModifiedTime is ignored when adding folder ZipParameters lastModifiedTime is ignored Jun 4, 2022
@srikanth-lingala srikanth-lingala self-assigned this Jun 20, 2022
@srikanth-lingala srikanth-lingala added bug Something isn't working resolved labels Jun 20, 2022
@srikanth-lingala
Copy link
Owner

Issue fixed. I will include the fix in the next release.

@srikanth-lingala
Copy link
Owner

Fixed in v2.11.0 released today

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working resolved
Projects
None yet
Development

No branches or pull requests

2 participants