2011/8/26 Mick Sear <mick.s...@succeed.co.uk>: > I also think that looking at this code, if clocks go back at, say, 2am in > a given time zone, Tomcat will report 2am in an HTTP header continually > for 1 hour. > > Am I wrong?
The header is in GMT. It does not matter what timezone your OS uses. [[[ static { format.setTimeZone(gmtZone); formats[0].setTimeZone(gmtZone); formats[1].setTimeZone(gmtZone); formats[2].setTimeZone(gmtZone); } ]]] > wget.exe --save-headers http://localhost:8080/ HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Content-Type: text/html;charset=ISO-8859-1 Date: Fri, 26 Aug 2011 16:40:02 GMT Connection: close Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org