diff options
| author | Dmitry Stogov <dmitry@php.net> | 2008-01-29 10:43:42 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2008-01-29 10:43:42 +0000 |
| commit | c9fd5b3010fc0a09c3cd63ff9013249b2627a17d (patch) | |
| tree | d0896f925ada507c1a59f347c455afa12ecd117a /ext | |
| parent | c86f396edfa495562fa0f54c0afcc09af9af0f8f (diff) | |
| download | php-git-c9fd5b3010fc0a09c3cd63ff9013249b2627a17d.tar.gz | |
Fixed test
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/date/tests/bug43003.phpt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/date/tests/bug43003.phpt b/ext/date/tests/bug43003.phpt index 3192d55dda..8070358b95 100644 --- a/ext/date/tests/bug43003.phpt +++ b/ext/date/tests/bug43003.phpt @@ -2,6 +2,8 @@ Bug #43003 (Invalid timezone reported for DateTime objects constructed using a timestamp) --FILE-- <?php +date_default_timezone_set('Europe/Oslo'); + $oDateTest = new DateTime("@0", new DateTimeZone(date_default_timezone_get())); echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n"; |
