Re: [htdig3-dev] HtDateTime Class - 2th step


Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Fri, 23 Apr 1999 15:28:25 -0500 (CDT)


According to Gabriele Bartolini:
> This is for ISO8601 format. Look at how I tried to set different timezones,
> but results are not as I hoped (former GMT, then CET):
>
> Parsing date string 1970-01-01 00:00:00 GMT - format %Y-%m-%d %H:%M:%S %Z
>
> Local - Date Time n. 1 : Thu, 01 Jan 1970 00:00:00 CET
> GM - Date Time n. 1 : Wed, 31 Dec 1969 23:00:00 GMT

The Htstrptime() function included in the 3.2 source tree doesn't handle
the %Z format. It appears that it just skips over it.

The older mystrptime() function in 3.1.2 and earlier would actually
abort if the %Z format was used, as it didn't recognize it at all.

I think that for now, you'll need to avoid the %Z format.

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
htdig3-dev@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Fri Apr 23 1999 - 13:37:10 PDT