2 ms·
> Most webservers fill this date field with zeros, about 10% use the actual date, including the timezone They can't include the timezone since the field is a u
by masklinn 11y ago
> Most webservers fill this date field with zeros, about 10% use the actual date, including the timezone
They can't include the timezone since the field is a unix timestamp, there's no room for the timezone.
Apparently the script just assumes whichever date is stored in the mtime field is a local date (when the spec suggests UTC/GMT): https://github.com/jcarlosn/gzip-http-time/blob/master/time.php#L29 https://github.com/jcarlosn/gzip-http-time/blob/master/time....