]> granicus.if.org Git - php/commitdiff
@ - Fix Bug 9878 (patch by bfoddy@mediaone.net) (jmoore)
authorJames Moore <jmoore@php.net>
Wed, 7 Nov 2001 14:22:15 +0000 (14:22 +0000)
committerJames Moore <jmoore@php.net>
Wed, 7 Nov 2001 14:22:15 +0000 (14:22 +0000)
ext/standard/datetime.c

index c9759c68019f83d033d203d13220b6389b796f25..b86b4e127e85468cf60c660e86e904567903510e 100644 (file)
@@ -182,10 +182,9 @@ void php_mktime(INTERNAL_FUNCTION_PARAMETERS, int gm)
 #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;
        }