From: Derick Rethans Date: Mon, 4 Jul 2005 14:32:50 +0000 (+0000) Subject: - Fixed logic. X-Git-Tag: php-5.1.0b3~186 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69feece2bc2784d542248e933eb7b79bbf74103b;p=php - Fixed logic. --- diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 47b860c2f8..ca80f07cad 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -620,7 +620,7 @@ PHPAPI void php_strftime(INTERNAL_FUNCTION_PARAMETERS, int gmt) } timelib_time_dtor(ts); - if (gmt) { + if (!gmt) { timelib_time_offset_dtor(offset); }