PHP 4.0 Bug #8682 Updated: date issue
| From: | david@php.net | Date: | Fri, 12 Jan 2001 19:09:44 +0000 |
| Subject: | PHP 4.0 Bug #8682 Updated: date issue | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43916@lists.php.net to get a copy of this message | ||
ID: 8682
Updated by: david
Reported By: michael@tapinternet.com
Old-Status: Open
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
The formatting characters B (swatch internet time) and r (rfc-formatted date) have been added. The
first argument to date() should always include only date formatting characters. You want
echo date("m/d/Y",$filemodified)." <br> ".date("h:i
A",$filemodified);
Previous Comments:
---------------------------------------------------------------------------
[2001-01-12 14:02:57] michael@tapinternet.com
echo date("m/d/Y <br> h:i A",$filemodified);
used to work in earlier versions (4.0.1?)
4.0.4pl1 it doesn' work.
same line above in 4.0.4pl1 produces
01/12/2001 01:825898547 PM
with capitalized BR tag, it's even different, but still not right.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8682