#35189 [WFx]: Date Function Bug

From: Date: Sat, 12 Nov 2005 09:14:52 +0000
Subject: #35189 [WFx]: Date Function Bug
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-88065@lists.php.net to get a copy of this message
ID: 35189 Updated by: derick@php.net Reported By: php at splitstreamdesign dot com Status: Wont fix Bug Type: Date/time related Operating System: Windows 2000/XP PHP Version: 5.0.5 Assigned To: derick New Comment: It will show "EST" in 5.1, and it should be released somewhere next week. Previous Comments: ------------------------------------------------------------------------ [2005-11-11 23:11:51] php at splitstreamdesign dot com So will this be fixed in 5.1, or be the same? Any estimate on when 5.1 will be released? ------------------------------------------------------------------------ [2005-11-11 19:48:21] derick@php.net This is a "feature", which is addressed in PHP 5.1 and higher. It will not be changed from older versions. ------------------------------------------------------------------------ [2005-11-11 15:44:41] tony2001@php.net Derick, is this a bug or just another Window$ "feature"? ------------------------------------------------------------------------ [2005-11-11 07:44:52] php at splitstreamdesign dot com 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 this bug report at http://bugs.php.net/?id=35189&edit=1

« previous php.bugs (#88065) next »