mirror of
https://github.com/php/php-src.git
synced 2024-10-20 16:02:44 +00:00
14 lines
311 B
Plaintext
14 lines
311 B
Plaintext
|
--TEST--
|
||
|
Bug #36224 (date(DATE_ATOM) gives wrong resulsts)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
date_default_timezone_set("Europe/Oslo");
|
||
|
|
||
|
echo date(DATE_ATOM, strtotime('2006-01-31T19:23:56Z')) . "\n";
|
||
|
echo date(DATE_ATOM, strtotime('2006-01-31T19:23:56')) . "\n";
|
||
|
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
2006-01-31T20:23:56+01:00
|
||
|
2006-01-31T19:23:56+01:00
|