php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61722 Timezone abbreviation
Submitted: 2012-04-13 13:35 UTC Modified: 2012-04-18 05:59 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: akbar6393222 at yahoo dot com Assigned:
Status: Not a bug Package: Date/time related
PHP Version: 5.3.10 OS: CentOS release 5.8 (Final)
Private report: No CVE-ID: None
 [2012-04-13 13:35 UTC] akbar6393222 at yahoo dot com
Description:
------------
Timezone abbreviation wrong intepreted
it affecting on some region as on tested

Test script:
---------------
<?php
date_default_timezone_set("Asia/Jakarta");
echo date('T');


Expected result:
----------------
WIB

Actual result:
--------------
WIT

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-04-18 05:54 UTC] pajoye@php.net
-Package: date_time +Package: Date/time related
 [2012-04-18 05:54 UTC] pajoye@php.net
Move to the right extension.
 [2012-04-18 05:59 UTC] aharvey@php.net
The IANA time zone database (http://www.iana.org/time-zones) which PHP uses has 
the abbreviation listed as WIT. You'll need to have it fixed upstream, as we just 
pull it in from there.

Not a PHP bug: closing.
 [2012-04-18 05:59 UTC] aharvey@php.net
-Status: Open +Status: Not a bug
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 02:01:29 2024 UTC