Originally Posted by kiwidude
Bearing in mind my complete ignorance on such dates and times, I tried adding these two lines to zipfile.py at line 1126:
mtime = time.mktime(member.date_time + (0,0,0))
os.utime(targetpath, (mtime, mtime))
This gets me "close", but every time I zip the file back up the hour increments by one. Or is that just an example of the timezone issue?
My guess is that you need to set the dst flag (the last zero) to -1.