From 69feece2bc2784d542248e933eb7b79bbf74103b Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Mon, 4 Jul 2005 14:32:50 +0000 Subject: [PATCH] - Fixed logic. --- ext/date/php_date.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.50.1