|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-01-11 12:54 UTC] contact at frank-liepert dot de
[2017-01-11 14:21 UTC] heiglandreas@php.net
-Status: Open
+Status: Not a bug
[2017-01-11 14:21 UTC] heiglandreas@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 10:00:01 2026 UTC |
Description: ------------ I have a function to compute the local time (relative to California) of any given timezone (in AREA/REGION format) which uses date_default_timezone_set(). The result for 'Europe/Istanbul' is one hour behind the actual local time. Test script: --------------- date_default_timezone_set('Europe/Istanbul'); echo date("Y-m-d\TH:i:s"); Expected result: ---------------- 2017-01-10T21:07:24+02:00 Actual result: -------------- 2017-01-10T20:07:24+02:00