[
https://issues.apache.org/jira/browse/HTTPCLIENT-794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628307#action_12628307
]
Adrian Sutton commented on HTTPCLIENT-794:
------------------------------------------
One common error is thinking that the UK uses GMT time - particularly at this
time of year, it doesn't. It uses BST time which is precisely 1 hour ahead of
GMT because of daylight savings (GMT doesn't have daylight savings). Most
likely somewhere in your server configuration these two time zones are being
confused but I couldn't say where and it's definitely not related to HttpClient.
> HTTP.DATE_HEADER
> ----------------
>
> Key: HTTPCLIENT-794
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-794
> Project: HttpComponents HttpClient
> Issue Type: Question
> Components: HttpClient
> Affects Versions: 4.0 Beta 1
> Environment: MAC OS X, Eclipse,
> Reporter: Patrick Conway
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> In my code below the Time Stamp returned in Headers is always off by an hr?
> At the time of running the code it was 11.38 GMT
> Any idea where the problem is ? Is it correctable in my code?
> I've checked the time, both on the client and server and both are correct
> "
> HttpResponse response = httpclient.execute(httpget);
> HttpEntity entity = response.getEntity();
>
> Header h1 = response.getFirstHeader(HTTP.DATE_HEADER);
> "
> output
> 2604 [main] DEBUG org.apache.http.headers SiteMonitor - << Date: Thu, 04 Sep
> 2008 10:38:55 GMT
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]