On Wed, 15 Sep 2004 17:14:34 -0000, Aaron Stone
<[EMAIL PROTECTED]> wrote:
> Wolfram A. Kraushaar <[EMAIL PROTECTED]> said:
> 
> > Shouldn't the Timzone be taken from the environment var TZ as
> > defined by POSIX.1?
> 
> The TZ variable is a disaster zone of inconsist and bizarre formatting
> rules. There might be some proven, reliable L/GPL code already out there,
> but writing our own would be a really unpleasant task.

What I did was take the timezone information from tm_gmtoffset (BSD &
GNU extension of the tm struct). This seemed to work very well, until
someone in Australia mentioned that he got the wrong timezone, +1100
instead of +1000. +1100 is his daylight savings time. It's currently
is winter in Australia, so no DST there now!

There must be something wrong with my code...

Anyone who knows something about this, please take a look at the
date_sql2imap() function in imaputil.c

Ilja

Reply via email to