- From: Henrik Frystyk Nielsen <frystyk@w3.org>
- Date: Fri, 5 May 1995 15:40:13 +0500
- To: www-talk@w3.org, www-lib@w3.org
I have a strange problem on Solaris: The gmtime() function on Solaris seems to return the wrong value. It is one hour ahead of GMT which means that all date header values in a HTTP request or response is one hour ahead of GMT. This is for example the case on our www.w3.org servers which certainly confuses a lot of caches! It is simple to test: time_t calendar = time(NULL); struct tm *gmt = gmtime(&calendar); strftime(buf, 40, "%a, %d %b %Y %H:%M:%S GMT", gmt); Has anybody else heard of this problem? -- cheers -- Henrik Frystyk frystyk@W3.org World-Wide Web Consortium, Tel + 1 617 258 8143 MIT/LCS, NE43-356 Fax + 1 617 258 8682 77 Massachusetts Avenue Cambridge MA 02154, USA
Received on Friday, 5 May 1995 15:40:19 UTC