Bug #63777 [Com]: DateTime obj in Dec 2012 in Australia/South TZ reports 'CST' time zone abbrev
| From: | kavi at postpro dot net | Date: | Fri, 14 Dec 2012 23:43:46 +0000 |
| Subject: | Bug #63777 [Com]: DateTime obj in Dec 2012 in Australia/South TZ reports 'CST' time zone abbrev | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-175375@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63777&edit=1
ID: 63777
Comment by: kavi at postpro dot net
Reported by: kavi at postpro dot net
Summary: DateTime obj in Dec 2012 in Australia/South TZ
reports 'CST' time zone abbrev
Status: Open
Type: Bug
Package: Date/time related
Operating System: OS X, CentOS, Debian
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
See #50276 for a tangentially related bug about the Australian timezone abbreviations.
Previous Comments:
------------------------------------------------------------------------
[2012-12-14 23:42:34] kavi at postpro dot net
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 this bug report at https://bugs.php.net/bug.php?id=63777&edit=1