diff options
| author | Sterling Hughes <sterling@php.net> | 2001-12-13 12:17:32 +0000 |
|---|---|---|
| committer | Sterling Hughes <sterling@php.net> | 2001-12-13 12:17:32 +0000 |
| commit | e152dd3cee23279882b7bc4ffbe2f80ef81f6fd6 (patch) | |
| tree | d68dc344ae4140094982399360be1ff524b9958d | |
| parent | cbce251dabed75b121afe77ced3a846494e90736 (diff) | |
| download | php-git-e152dd3cee23279882b7bc4ffbe2f80ef81f6fd6.tar.gz | |
MFH timezone fix
| -rw-r--r-- | ext/standard/parsedate.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/parsedate.y b/ext/standard/parsedate.y index 45357d9fbd..84ee81356c 100644 --- a/ext/standard/parsedate.y +++ b/ext/standard/parsedate.y @@ -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; |
