Re: cvs: php4 /ext/standard datetime.c
| From: | Andrei Zmievski | Date: | Wed, 07 Nov 2001 14:28:55 +0000 |
| Subject: | Re: cvs: php4 /ext/standard datetime.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-8093@lists.php.net to get a copy of this message | ||
You sure about this? Better have it tested well on Solaris..
On Wed, 07 Nov 2001, James Moore wrote:
> jmoore Wed Nov 7 09:22:15 2001 EDT
>
> Modified files:
> /php4/ext/standard datetime.c
> Log:
> @ - Fix Bug 9878 (patch by bfoddy@mediaone.net) (jmoore)
>
> Index: php4/ext/standard/datetime.c
> diff -u php4/ext/standard/datetime.c:1.79 php4/ext/standard/datetime.c:1.80
> --- php4/ext/standard/datetime.c:1.79 Sat Nov 3 07:42:41 2001
> +++ php4/ext/standard/datetime.c Wed Nov 7 09:22:15 2001
> @@ -19,7 +19,7 @@
> */
>
>
> -/* $Id: datetime.c,v 1.79 2001/11/03 12:42:41 jmoore Exp $ */
> +/* $Id: datetime.c,v 1.80 2001/11/07 14:22:15 jmoore Exp $ */
>
>
> #include "php.h"
> @@ -182,10 +182,9 @@
> #else
> /*
> ** If correcting for daylight savings time, we set the adjustment to
> - ** the value of timezone - 3600 seconds. Otherwise, we need to overcorrect and
> - ** set the adjustment to the main timezone + 3600 seconds.
> + ** the value of timezone - 3600 seconds.
> */
> - gmadjust = -(is_dst ? timezone - 3600 : timezone + 3600);
> + gmadjust = -(is_dst ? timezone - 3600 : timezone);
> #endif
> seconds += gmadjust;
> }
>
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net
> For additional commands, e-mail: php-cvs-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
-Andrei
"I still find each day too short for all the thoughts I want to think,
all the walks I want to take, all the books I want to read, and all the
friends I want to see."
-John Burroughs