blob: cc69def7be9cad2882593998d7af7cb73b2975f2 (
plain)
1
2
3
4
5
6
7
8
9
10
|
--TEST--
Bug #43527 (DateTime created from a timestamp reports environment timezone)
--FILE--
<?php
date_default_timezone_set("Etc/GMT+1");
$datetime = new DateTime('Fri, 07 Dec 2007 19:05:14 +1000');
echo $datetime->getTimezone()->getName(), "\n";
?>
--EXPECT--
+10:00
|