php-src/ext/date/tests/bug33452.phpt
Derick Rethans bf23d8d2b8 - Renamed date_timezone_set/get() to date_default_timezone_set/get().
- Added missing proto's and folding marks.
2005-07-04 21:27:26 +00:00

12 lines
237 B
PHP

--TEST--
Bug #33452 (Support for year accompanying ISO week nr)
--FILE--
<?php
date_default_timezone_set("GMT");
echo date('Y-W', strtotime('2005-1-1')), "\n";
echo date('o-W', strtotime('2005-1-1')), "\n";
?>
--EXPECT--
2005-53
2004-53