Sorry, I just realized there's one more bug, this time not related to DST. If $diff is negative and not a multiply of 60 (think of TZ=America/Caracas), then this:

    my $h = floor($diff / 60);
    my $m = $diff%60;

is wrong.

--
Jakub Wilk


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to