mirror of
https://github.com/php/php-src.git
synced 2026-04-24 16:38:25 +02:00
41996e8d4f
Only functional change is the renaming of the functions `dom_document_substitue_entities_(read|write)` to replace `substitue` with `substitute`.
14 lines
310 B
PHP
14 lines
310 B
PHP
--TEST--
|
|
Bug #36224 (date(DATE_ATOM) gives wrong results)
|
|
--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
|