mirror of
https://github.com/php/php-src.git
synced 2024-10-04 08:16:11 +00:00
12 lines
306 B
PHP
12 lines
306 B
PHP
--TEST--
|
|
Bug #26320 (strtotime handling of XML Schema/ISO 8601 format)
|
|
--FILE--
|
|
<?php
|
|
date_default_timezone_set('GMT0');
|
|
echo date("Y-m-d H:i:s\n", strtotime("2003-11-19T12:30:42"));
|
|
echo date("Y-m-d H:i:s\n", strtotime("2003-11-19T12:30:42Z"));
|
|
?>
|
|
--EXPECT--
|
|
2003-11-19 12:30:42
|
|
2003-11-19 12:30:42
|