#33144 [Opn->Bgs]: strftime() does not parse %n
| From: | jw at jwscripts dot com | Date: | Wed, 25 May 2005 21:31:13 +0000 |
| Subject: | #33144 [Opn->Bgs]: strftime() does not parse %n | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-79503@lists.php.net to get a copy of this message | ||
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