mirror of
https://github.com/php/php-src.git
synced 2024-12-04 23:34:25 +08:00
14 lines
311 B
PHP
14 lines
311 B
PHP
--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
|