PHP 4.0 Bug #9519 Updated: Incorrect output from date function

From: Date: Fri, 02 Mar 2001 14:28:58 +0000
Subject: PHP 4.0 Bug #9519 Updated: Incorrect output from date function
Groups: php.dev 
Request: Send a blank email to php-dev+get-47791@lists.php.net to get a copy of this message
ID: 9519 Updated by: sniper Reported By: djhouy@pmeconsulting.com Old-Status: Open Status: Bogus Bug Type: Date/time related Assigned To: Comments: It's not wrong, it's exactly what it should be outputting. Please read the manual page for date: http://www.php.net/date where it says: n - month without leading zeros; i.e. "1" to "12" --Jani Previous Comments: --------------------------------------------------------------------------- [2001-03-02 02:44:32] djhouy@pmeconsulting.com the n option for date gives wrong value date ("l, F d, Y") outputs Friday, March 02, 2001 date ("l, F n, Y") outputs Friday, March 3, 2001 --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9519&edit=2

« previous php.dev (#47791) next »