Doc #69538 [Opn->Csd]: time not set properly

From: Date: Tue, 28 Apr 2015 21:34:56 +0000
Subject: Doc #69538 [Opn->Csd]: time not set properly
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12269@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69538&edit=1 ID: 69538 Updated by: cmb@php.net Reported by: ignacioquintana at gmail dot com Summary: time not set properly -Status: Open +Status: Closed Type: Documentation Problem Package: Date/time related Operating System: linux PHP Version: 5.4.40 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Switching permanently to DST for America/Santiago has been a very recent change, so at least timezone DB 2015.1 has to be used, which is available as of PHP 5.5.22 and PHP 5.6.6. For other versions you can use a respective PECL timezonedb package[1]. [1] <https://pecl.php.net/package/timezonedb> Previous Comments: ------------------------------------------------------------------------ [2015-04-27 21:34:31] ignacioquintana at gmail dot com Description: ------------ --- From manual page: http://www.php.net/timezones.america --- time zone set not working for America/Santiago this zone will be UTC-3 until march 2017 (without winter or summer change) Test script: --------------- date_default_timezone_set('America/Santiago'); Expected result: ---------------- actual time at santiago chile Actual result: -------------- time minus 1 hous ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69538&edit=1

« previous php.doc.bugs (#12269) next »