RFC 2616 states that HTTP date/times in headers should always be in UTC.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3
Currently the code here:
http://code.google.com/p/mongoose/source/browse/mongoose.c#2547 outputs the
last-modified header using the local timezone, rather than GMT.
The recipient then assumes that the date is GMT, and makes the necessary
adjustments.
In my case, at GMT+1 (BST), a file modified at the current date, is
(effectively) declared to have been last modified one hour in the future by
Mongoose, which plays havoc with tools like make.
To test, do the above, open said file in browser or download, and check
modification date. (I used wget and firefox for said test).
Original issue reported on code.google.com by j.g.renn...@gmail.com on 25 Jul 2011 at 4:29
Original issue reported on code.google.com by
j.g.renn...@gmail.com
on 25 Jul 2011 at 4:29