Nerijus Baliunas wrote:
> Hello,
> 
> bacula 2.2.6, Windows 2000. The local time was 23:10, local timezone is
> GMT+2 ("Automatically adjust clock for daylight saving changes" is checked,
> but summer time is over), but the mail headers are:
> 
> Received: from xxx (unknown [192.168.0.250])
>       by xxxx (Postfix) with SMTP id 4247C17A433
>       for <[EMAIL PROTECTED]>; Tue, 11 Dec 2007 23:09:52 +0200 (EET)
> From: (Bacula) [EMAIL PROTECTED]
> Subject: Bacula: Backup OK of fileserver-fd Incremental
> Sender: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Date: Tue, 11 Dec 2007 23:10:32 +0300 (FLE Standard Time)
> 
> Why timezone in Date header is +3 and not +2?
> 
> If I comment out a line 220 in bsmtp.c:
> offset += _dstbias;
> 
> then I get a correct timezone:
> Date: Wed, 12 Dec 2007 04:14:54 +0200 (FLE Standard Time)
> 
> _dstbias is "Offset for daylight saving time". Any ideas why it is
> not zero when daylight saving (summer time) is over?
> Is it a mingw or Windows problem?

Not that I've viewed the code, but where is _dstbias obtained from? 
It's not static it is?  i.e. obtained when the daemon started, and 
therefore now outdated?


-- 
Dan Langille - http://www.langille.org/
BSDCan - The Technical BSD Conference: http://www.bsdcan.org/

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to