- Move mktime/gmmktime related tests from ext/standard to ext/date.

This commit is contained in:
Derick Rethans 2005-07-03 14:36:59 +00:00
parent ed02f202f0
commit d3c83378eb
6 changed files with 3 additions and 2 deletions

View file

@ -470,6 +470,7 @@ PHPAPI static void php_mktime(INTERNAL_FUNCTION_PARAMETERS, int gmt)
if (dst == 0 && tmp_offset->is_dst == 1) { if (dst == 0 && tmp_offset->is_dst == 1) {
adjust_seconds = +3600; adjust_seconds = +3600;
} }
timelib_time_offset_dtor(tmp_offset);
} }
} }
/* Clean up and return */ /* Clean up and return */

View file

@ -1,5 +1,5 @@
--TEST-- --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-- --FILE--
<?php <?php
putenv("TZ=Europe/Amsterdam"); putenv("TZ=Europe/Amsterdam");

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Bug #27719: mktime returns incorrect timestamp for dst days Bug #27719 (mktime returns incorrect timestamp for dst days)
--INI-- --INI--
error_reporting=2047 error_reporting=2047
--FILE-- --FILE--