php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69538 time not set properly
Submitted: 2015-04-27 21:34 UTC Modified: 2015-04-28 22:18 UTC
From: ignacioquintana at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Date/time related
PHP Version: 5.4.40 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ignacioquintana at gmail dot com
New email:
PHP Version: OS:

 

 [2015-04-27 21:34 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-28 21:34 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2015-04-28 21:34 UTC] cmb@php.net
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>
 [2015-04-28 22:18 UTC] cmb@php.net
-Type: Documentation Problem +Type: Bug
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 04:00:01 2026 UTC