From:             kavi at postpro dot net
Operating system: OS X, CentOS, Debian
PHP version:      Irrelevant
Package:          Date/time related
Bug Type:         Bug
Bug description:DateTime obj in Dec 2012 in Australia/South TZ reports 'CST' 
time zone abbrev

Description:
------------
Tried this on 5.3.3, 5.3.6 and 5.3.10, the latest available from the
various OS vendors we have.  I have not yet successfully compiled 5.4.x to
test there.

This occurs with the 2012.10 tzdata installed and verified with phpinfo().


Test script:
---------------
$date = new DateTime('now', new DateTimezone('Australia/South'));
echo $date->format('Y-m-d H:i:s T');

Expected result:
----------------
2012-12-15 10:10:13 ACDT

Actual result:
--------------
2012-12-15 10:10:13 CST

-- 
Edit bug report at https://bugs.php.net/bug.php?id=63777&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=63777&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=63777&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=63777&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=63777&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=63777&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=63777&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=63777&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=63777&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=63777&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=63777&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=63777&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=63777&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=63777&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63777&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=63777&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=63777&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=63777&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63777&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=63777&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=63777&r=mysqlcfg

Reply via email to