From: Derick Rethans Date: Sun, 3 Jul 2005 14:36:59 +0000 (+0000) Subject: - Move mktime/gmmktime related tests from ext/standard to ext/date. X-Git-Tag: php-5.1.0b3~208 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d3c83378ebf7f7d605a891df0fbcfd7d6564b76c;p=php - Move mktime/gmmktime related tests from ext/standard to ext/date. --- diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 40af3f92d9..673cd04175 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -470,6 +470,7 @@ PHPAPI static void php_mktime(INTERNAL_FUNCTION_PARAMETERS, int gmt) if (dst == 0 && tmp_offset->is_dst == 1) { adjust_seconds = +3600; } + timelib_time_offset_dtor(tmp_offset); } } /* Clean up and return */ diff --git a/ext/date/tests/bug20382.phpt b/ext/date/tests/bug20382-1.phpt similarity index 84% rename from ext/date/tests/bug20382.phpt rename to ext/date/tests/bug20382-1.phpt index 4da8c21105..a259d934af 100644 --- a/ext/date/tests/bug20382.phpt +++ b/ext/date/tests/bug20382-1.phpt @@ -1,5 +1,5 @@ --TEST-- -Bug #20382 (strtotime ("Monday", $date) produces wrong result on DST changeover) +Bug #20382 [1] (strtotime ("Monday", $date) produces wrong result on DST changeover) --FILE--