<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br></div><div>On 23 Feb 2016, at 02:27, Jose Carlos Norte <<a href="mailto:jcarlos.norte@gmail.com">jcarlos.norte@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div>To provide additional information, I have found that only Microsoft Windows Operating Systems are providing local times instead of universal times in the MTIME field of the gzip header. The gzip specification states that only universal times should be used, as you can see here:</div><div><br></div><div><a href="http://www.zlib.org/rfc-gzip.html#header-trailer">http://www.zlib.org/rfc-gzip.html#header-trailer</a><br></div><div><br></div><div>However, for some reason, microsoft windows or some gzip implementation in some popular web server for Microsoft Windows is not respecting the specification and is using local times instead of universal times.</div></blockquote><div><br></div><div>Windows stores the time in local time internally. If the time one isn't set correctly on the server, or non-timezone-aware APIs are used, applications will report local time.</div><div><br></div><div>Compounding this, if applications don't use deflateInit2 correctly, the header contains a time value.</div><div><br></div>Tim<br><div><span style="background-color: rgba(255, 255, 255, 0);"><br></span><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div apple-content-edited="true"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span style="background-color: rgba(255, 255, 255, 0);">Tim Wilson-Brown (teor)</span></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span style="background-color: rgba(255, 255, 255, 0);">teor2345 at gmail dot com<br>PGP 968F094B<br><br>teor at blah dot im<br>OTR CAD08081 9755866D 89E2A06F E3558B7F B5A9D14F</span></div></div></div></div></div></div></div></div></div></body></html>