0

Attempting to zip up some files for a project and receiving the error

ValueError: ZIP does not support timestamps before 1980

After evaluating the given files, I noticed a hidden file with a created and modified timestamp of December 31st, 1969 in it, which was yielding the error.

However, I don't know how to actually modify this metadata in Python.

Is there a platform agnostic way of doing this, or at least a way that works on mac similar to this example for windows?

0 Answers0