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: 2020-12-20 04:22 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: stoyanovski dot development at gmail dot com Assigned: cmb (profile)
Status: No Feedback Package: timezonedb (PECL)
PHP Version: 5.4.37 OS: CentOS
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: stoyanovski dot development at gmail dot com
New email:
PHP Version: OS:

 

 [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
 [2020-12-09 14:17 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-12-09 14:17 UTC] cmb@php.net
Is this still the case for latest timezonedb?
 [2020-12-20 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 10:01:26 2024 UTC