php-src/ext/date/tests/bug28599.phpt
Derick Rethans 2e9d063814 - Added fallback to system's timezone setting, but marked with an E_STRICT
error.
- Adjusted tests to use the date_timezone_set() function.
2005-07-03 15:01:29 +00:00

10 lines
213 B
PHP

--TEST--
Bug #28599 (strtotime fails with zero base time)
--FILE--
<?php
date_timezone_set("Europe/Amsterdam");
print gmdate("d-m-Y H:i:s", strtotime("+30 minutes", 1100535573));
?>
--EXPECT--
15-11-2004 16:49:33