Browse Source

- Added the test case for bug #36599

PHP-5.1
Derick Rethans 21 years ago
parent
commit
5c1dbf51af
  1. 12
      ext/date/tests/bug36599.phpt

12
ext/date/tests/bug36599.phpt

@ -0,0 +1,12 @@
--TEST--
Bug #36599 (DATE_W3C format constant incorrect).
--FILE--
<?php
date_default_timezone_set("UTC");
echo date( DATE_ATOM, strtotime( "2006-03-03 08:47:55" ) ), "\n";
echo date( DATE_W3C, strtotime( "2006-03-03 08:47:55" ) ), "\n";
?>
--EXPECT--
2006-03-03T08:47:55+00:00
2006-03-03T08:47:55+00:00
Loading…
Cancel
Save