ProtonMail / WebClients

Monorepo hosting the proton web clients
GNU General Public License v3.0
4.24k stars 538 forks source link

Preserve file modification timestamps in ZIP archives #326

Open antonta0 opened 1 year ago

antonta0 commented 1 year ago

Hi there,

You seem to be accepting contributions, so I thought I'd go that route instead of support. The commit message describes the problem.

The only downside is that I could not test the change end-to-end due to #322 and I did not want to spend more time on the issue trying to work around that. I'd expected unzip -l on a downloaded archive show timestamps that are displayed in the web UI. All I can say is that according to the client-zip documentation and my quick glance over your codebase that should work. Feel free to change the commit as you see fit.

horejsek commented 1 year ago

Hello. Thank you for your contribution. This is on the backlog for a long time and your code will help finish it sooner. :-)