anyone?
On Oct 15, 2013 1:42 PM, "Ihsan Junaidi Ibrahim" <ih...@grep.my> wrote:
>
> Sounds like a hack for what seems to be a trivial matter.
>
> Is there a good reason why the local timezone is ignored when posting HTTP response? The HTTP1.1 spec mandates RFC1123 so why not just follow it?
because RFC actually requires it to be in GMT.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CA%2Bdb%3Dn21_sN-yE4JMHmXpTeRn2ZcZFh3_J-o%3DemymGvSt62W%3DQ%40mail.gmail.com.
On Oct 15, 2013 3:03 PM, "Ihsan Junaidi Ibrahim" <ih...@grep.my> wrote:
>
> If the date is represented in GMT, shouldn't it change the time to reflect the actual time in GMT timezone.
>
> I'm in +0800 but the the HTTP response header took the current server time and just replaced the timezone with GMT instead of shifting the time back to GMT.
>
> So when I read back the response header on the client, the timestamp is all messed up.
this was a real bug that has been fixed in tip (Go 1.2).
Do you have the bug ID because I'm on tip +050f1f96c25c and the server is still sending the wrong timestamp.
Do you have the bug ID because I'm on tip +050f1f96c25c and the server is still sending the wrong timestamp.