Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relax expected timestamp test to a 48hr range for zipfile entries #13

Conversation

radhikalism
Copy link
Collaborator

The last modified timestamp for zip/jar entries is TZ-lossy and may not serialize/deserialize across timezones to exactly the same unixtime. The unit test is only concerned with finding a plausible timestamp, not a perfectly accurate one. The +24hr/-24hr range is wide enough to cover all timezones.

@magnars
Copy link
Owner

magnars commented Feb 27, 2014

Excellent. Thank you!

magnars added a commit that referenced this pull request Feb 27, 2014
…-timezones

Relax expected timestamp test to a 48hr range for zipfile entries
@magnars magnars merged commit 9d070cc into magnars:master Feb 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants