mirror of
https://github.com/php/php-src.git
synced 2024-10-21 16:33:44 +00:00
88268c6bcc
- MFH: Fixed bug #35885 (strtotime("NOW") no longer works). - MFH: Fixed bug #33789 (Many Problems with SunFuncs). - MFH: Fixed bug #33671 (sun_rise and sun_set don't return a GMT timestamp if one passes an offset). - MFH: Fixed bug #32820 (date_sunrise and date_sunset don't handle GMT offset well). - MFH: Fixed bug #30937 (date_sunrise() & date_sunset() don't handle endless day/night at high latitudes).
12 lines
231 B
PHP
12 lines
231 B
PHP
--TEST--
|
|
Bug #35887 (wddx_deserialize not parsing dateTime fields properly)
|
|
--FILE--
|
|
<?php
|
|
date_default_timezone_set("UTC");
|
|
|
|
echo date(DATE_ISO8601, strtotime('2006-1-6T0:0:0-8:0')) . "\n";
|
|
|
|
?>
|
|
--EXPECT--
|
|
2006-01-06T08:00:00+0000
|