Davide Libenzi wrote:
> On Sun, 2 Nov 2003, Achim Schmidt wrote:
> 
> 
>>machine rotating at 0000/2300
>>(SuSE8.2, xmail1.17)
>>
>>time     = Sun Nov  2 13:47:20 2003
>>timezone = -3600
>>isdst    = 0
>>tutc     = 1067777240
>>tloc     = 1067780840
>>tval     = 1067727600
>>rotstr   = 200311020000
>>
>>
>>machine rotating at 0100/0000
>>(SuSE8.0, xmail1.17 (same behaviour as 1.10))
>>
>>time     = Sun Nov  2 13:48:41 2003
>>timezone = -3600
>>isdst    = 0
>>tutc     = 1067777321
>>tloc     = 1067780921
>>tval     = 1067727600
>>rotstr   = 200311020000
> 
> 
> Looking at all those results, the rotstr is just fine, and the test code
> uses the same formula XMail uses. Have those machines been rebooted after
> the daylight time change? One solution is that time functions needs
> continuous tzset() to readjust internal variables, and tzset() is only
> called at start time.
> 
> 
> 
> - Davide

 >timetest
time     = Sun Nov 02 09:04:43 2003
timezone = 18000
isdst    = 0
tutc     = 1067781883
tloc     = 1067763883
tval     = 1067749200
rotstr   = 200311020000

Last reboot 46 days, 12 hours, 36 minutes, 37 seconds
This is on Win2k.

Looks good to me.

Lac


-- 
Ladislav Sedivy
http://www.sedivy.com

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to