Browse Source

add default timezone to the tests

PHP-5.1
Antony Dovgal 20 years ago
parent
commit
47cb31b7df
  1. 2
      ext/date/tests/bug36988.phpt
  2. 2
      ext/date/tests/bug37017.phpt

2
ext/date/tests/bug36988.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #36988 (mktime freezes on long numbers)
--INI--
date.timezone=GMT
--FILE--
<?php
$start = microtime(true);

2
ext/date/tests/bug37017.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #37017 (strtotime fails before 13:00:00 with some time zones identifiers).
--INI--
date.timezone=GMT
--FILE--
<?php
echo strtotime("2006-05-12 13:00:01 America/New_York"), "\n";

Loading…
Cancel
Save