Mantis - Quercus
Viewing Issue Advanced Details
548 minor always 12-22-05 12:28 12-23-05 09:01
anonymous  
 
normal  
closed  
fixed  
none    
none 3.0.18  
0000548: Error in date function
This PHP Code returns wrong result:

<?
$today = date( "l dS of F Y h:i:s A" );
PRINT "<CENTER>Today is: $today.</CENTER>";
?>

Result is:
Today is: Friday 22ndrdth of December 2005 09:27:35 PM.
                     xxxx

Correct would be:
Today is: Friday 22nd of December 2005 09:27:35 PM.

Notes
(0000559)
anonymous   
12-22-05 12:31   
Resin-3.0.16 (built Fri, 09 Dec 2005 10:09:57 PST)
Windows XP

web.xml

  <servlet-mapping url-pattern="*.php"
                   servlet-class="com.caucho.quercus.servlet.QuercusServlet">
  </servlet-mapping>
(0000566)
ferg   
12-23-05 09:01   
php/1909