W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1999

Re: Time parsing is wrong?

From: olga <olga@goliath.eai.com>
Date: Wed, 27 Jan 1999 13:52:11 -0600 (CST)
Message-ID: <XFMail.990127135211.olga@eai.com>
To: www-lib@w3.org
Yes with the patch it is working correct.

Thanks a lot!

Olga.

On 27-Jan-99 Henrik Frystyk Nielsen wrote:
> 
> olga wrote:
> 
>> I have added code to HTTPReq.c to HTTPMakeRequest to get time zone and to
>> print
>> the converted timestring:
> 
> Try this patch - the trace message was bad because of ctime which takes
> timezone into account but that did not have any impact of the one hour
> offset. However, it seems that the global variable (at least on solaris)
> is 1 right now which surprised me.
> 
> I have now changed the code to not use the daylight variable and now I
> get the right time on both linux, digital unix, and solaris. However,
> there seems to be problems on cygwin but I will check with them.
> 
> If it works for you then I can commit it - hopefully it will work on
> other platforms as well.
> 
> --
> Henrik Frystyk Nielsen,
> World Wide Web Consortium
> http://www.w3.org/People/Frystyk

----------------------------------
E-Mail: olga <olga@eai.com>
Date: 27-Jan-99
Time: 13:51:04

This message was sent by XFMail
----------------------------------
Received on Wednesday, 27 January 1999 14:48:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:28 GMT