From:             php at splitstreamdesign dot com
Operating system: Windows 2000/XP
PHP version:      5.0.5
PHP Bug Type:     Date/time related
Bug description:  Date Function Bug

Description:
------------
The documentation for the date() function states that the 'T' parameter
for the format string prints the timezone abbreviation: "Examples: EST,
MDT ...". Both PHP 5.0.4 and 5.0.5 replace 'T' with the full string
"Eastern Standard Time" on both Windows 2000 & Windows XP servers.

Reproduce code:
---------------
<? echo date("D, d M Y H:i:s T"); ?>

Expected result:
----------------
Fri, 11 Nov 2005 01:37:23 EST

Actual result:
--------------
Fri, 11 Nov 2005 01:37:23 Eastern Standard Time

-- 
Edit bug report at http://bugs.php.net/?id=35189&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=35189&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=35189&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=35189&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=35189&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=35189&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=35189&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=35189&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=35189&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=35189&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=35189&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=35189&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=35189&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=35189&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=35189&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=35189&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=35189&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=35189&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=35189&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=35189&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=35189&r=mysqlcfg

Reply via email to