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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 08:01:33 2024 UTC