php-src/ext/date/tests/bug29585.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
183 B
PHP

--TEST--
Bug #29585 (Support week numbers in strtotime())
--FILE--
<?php
date_timezone_set("GMT");
echo gmdate("Y-m-d H:i:s", strtotime("2004W30"));
?>
--EXPECT--
2004-07-19 00:00:00