haf/DotNetZip.Semverd

How to preserve timestamps of folders?

Opened this issue · 0 comments

I have a question about extracting zip files with android folders. So, I've been making zip files of android folders with many apps and when extracting them on PC, some zips retain all 3 dates --- date created, date modified, date accessed. So, it seems like the date modified of a folder, gets expanded into date created and date accessed and I want this to happen.

The problem occurs with timestamps. When extracting folders, the timestamps get forwarded by +1 second or get -1 reversed by 1 second. I want the timestamps to be equal as inside the zip archive. How can I achieve this? where the exact second is preserved during extraction especially for folders ?

Thanks