cvs: php4 /ext/standard parsedate.y
| From: | Derick Rethans | Date: | Sun, 02 Dec 2001 11:35:28 +0000 |
| Subject: | cvs: php4 /ext/standard parsedate.y | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8376@lists.php.net to get a copy of this message | ||
derick Sun Dec 2 06:35:28 2001 EDT
Modified files:
/php4/ext/standard parsedate.y
Log:
- Fix a bug in timezones +0100 and -0100
Index: php4/ext/standard/parsedate.y
diff -u php4/ext/standard/parsedate.y:1.28 php4/ext/standard/parsedate.y:1.29
--- php4/ext/standard/parsedate.y:1.28 Sat Oct 27 13:50:25 2001
+++ php4/ext/standard/parsedate.y Sun Dec 2 06:35:28 2001
@@ -255,7 +255,7 @@
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;