From:                   Aman  Thind <[EMAIL PROTECTED]>
> Apparently the time zones are correct on my machine.
> 
> Statements :
> print scalar(localtime)."\n";
> print scalar(gmtime)."\n";
> 
> Output :
> Fri Jan  3 20:35:34 2003
> Fri Jan  3 15:05:34 2003
> 
> India is +5:30.
> 
> However I think i caught the bug...
> 
> The statement : 
> 
> elsif (abs($gm[1]-$local[1]-30) <5)
> 
> should be replaced by :
> 
> elsif (abs(abs($gm[1]-$local[1])-30) <5)
> 
> and similarly for the next elsif. 

Thanks.
(The code was taken directly from Mail::Sender. I applied the fix 
there as well, it'll be in the upcoming versions ;-)

Jenda
== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
Always code as if the guy who ends up maintaining your code will be a
violent psychopath who knows where you live.
      -- Rick Osborne, <[EMAIL PROTECTED]>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to