cvs: php4 /ext/standard datetime.c

From: Date: Wed, 07 Nov 2001 14:22:15 +0000
Subject: cvs: php4 /ext/standard datetime.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8092@lists.php.net to get a copy of this message
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; }

« previous php.cvs (#8092) next »