PHP 4.0 Bug #5407 Updated: gmmktime's add "gmajust" but it's upside down
| From: | Bug Database | Date: | Thu, 06 Jul 2000 16:21:38 +0000 |
| Subject: | PHP 4.0 Bug #5407 Updated: gmmktime's add "gmajust" but it's upside down | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23612@lists.php.net to get a copy of this message | ||
ID: 5407
User Update by: sagawa@sohgoh.net
Status: Open
Bug Type: Misbehaving function
Description: gmmktime's add "gmajust" but it's upside down
In datetime.c
line 177
seconds += gmadjust;
shoud be
seconds -= gmadjust;
In old PHP (<=3.0.6?),
subtract gmadjust from seconds.
So this is correct way, I think.
Full Bug description available at: http://bugs.php.net/?id=5407