ID:               33144
 User updated by:  jw at jwscripts dot com
 Reported By:      jw at jwscripts dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Date/time related
 Operating System: Windows XP
 PHP Version:      5.0.4
 New Comment:

Forgot to look on the MSN site; %n isn't supported on the Windows
platform...


Previous Comments:
------------------------------------------------------------------------

[2005-05-25 23:20:54] jw at jwscripts dot com

Description:
------------
The strftime() function does not translate %n into a new line
character.

Reproduce code:
---------------
<pre>
<?php
print strftime("%c %n", time());
print strftime("%c %n", time());
?>
</pre>

Expected result:
----------------
05/25/05 23:17:21
05/25/05 23:17:21

Actual result:
--------------
05/25/05 23:17:21 05/25/05 23:17:21


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33144&edit=1

Reply via email to