- 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) {
adjust_seconds = +3600;
}
timelib_time_offset_dtor(tmp_offset);
}
}
/* Clean up and return */

View File

@ -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--
<?php
putenv("TZ=Europe/Amsterdam");

View File

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