Not sure if adding that helps: tm_sqldate.tm_isdst = tm_localtime.tm_isdst;
-- Wolfram > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ilja Booij > Sent: Donnerstag, 16. September 2004 11:38 > To: DBMAIL Developers Mailinglist > Subject: Re: [Dbmail-dev] Spotty timezone support > > 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 > _______________________________________________ > Dbmail-dev mailing list > Dbmail-dev@dbmail.org > http://twister.fastxs.net/mailman/listinfo/dbmail-dev