summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2001-12-13 12:17:32 +0000
committerSterling Hughes <sterling@php.net>2001-12-13 12:17:32 +0000
commite152dd3cee23279882b7bc4ffbe2f80ef81f6fd6 (patch)
treed68dc344ae4140094982399360be1ff524b9958d
parentcbce251dabed75b121afe77ced3a846494e90736 (diff)
downloadphp-git-e152dd3cee23279882b7bc4ffbe2f80ef81f6fd6.tar.gz
MFH timezone fix
-rw-r--r--ext/standard/parsedate.y2
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;