- Fix a bug in timezones +0100 and -0100

This commit is contained in:
Derick Rethans 2001-12-02 11:35:28 +00:00
parent 77111db912
commit 896faf0b34

View File

@ -255,7 +255,7 @@ time : tUNUMBER tMERIDIAN {
yySeconds = $5;
yyMeridian = MER24;
yyHaveZone++;
if ($6 < -100 || $6 > 100) {
if ($6 <= -100 || $6 >= 100) {
yyTimezone = -$6 % 100 + (-$6 / 100) * 60;
} else {
yyTimezone = -$6 * 60;