php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68994 Pacific/Samoa 1 hour behind
Submitted: 2015-02-05 17:45 UTC Modified: -
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: stoyanovski dot development at gmail dot com Assigned:
Status: Open Package: timezonedb (PECL)
PHP Version: 5.4.37 OS: CentOS
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2015-02-05 17:45 UTC] stoyanovski dot development at gmail dot com
Description:
------------
Updated PECL timezonedb to 2015.1

Issue is Pacific/Samoa is 1 hour behind.

Samoa does not use daylight savings, this may be the cause.

Test script:
---------------
<?php
    date_default_timezone_set('Pacific/Samoa');
?>
?>
<html>
  <head>
    <title>TimeZones!</title>
  </head>
  <body>
    <h1><?=date('g:i A', time())?></h1>
    <h3><?=date('l, F j, Y', time())?></h3>
    <h3>Timezone: <?=date_default_timezone_get()?></h3>
  </body>
</html>

Expected result:
----------------
GMT + 14:00

Actual result:
--------------
GMT + 13:00

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-02-16 15:04 UTC] alex at gentle dot ro
This was not applied ? http://www.timeanddate.com/news/time/samoa-dst-plan-2009.html
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC