mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
- Move mktime/gmmktime related tests from ext/standard to ext/date.
This commit is contained in:
parent
ed02f202f0
commit
d3c83378eb
@ -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 */
|
||||
|
@ -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");
|
@ -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--
|
Loading…
Reference in New Issue
Block a user