mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-11 21:22:10 +00:00
The extract files` modified time are wrong. #252
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @WcLyic on GitHub (Oct 20, 2017).
Version:0.18.2
Archive:TestArchives\Archives\Zip.deflate.zip
Below is the code i used. The extract files` modifiled time just like the create time rather than the modifiled time of original file.
@adamhathcock commented on GitHub (Oct 23, 2017):
Sorry, I think you'll have to be more specific.
The modified time of the extracted file matches the create time instead of using the last modified time from the zip?
@WcLyic commented on GitHub (May 19, 2018):
Version:0.21.1
Sample:Link
Sorry for reply after long time. Here is the sample of what I want to point out.
In archive:


After extracting:
@WcLyic commented on GitHub (May 21, 2018):
Finally I found the option "PreserveFileTime", it solved my question.