#40342 [Opn]: date() function not parsing complete string format
| From: | garmoan at gmail dot com | Date: | Sat, 03 Feb 2007 14:31:06 +0000 |
| Subject: | #40342 [Opn]: date() function not parsing complete string format | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-108370@lists.php.net to get a copy of this message | ||
ID: 40342
User updated by: garmoan at gmail dot com
Reported By: garmoan at gmail dot com
Status: Open
Bug Type: Date/time related
Operating System: Mac OS X 10.4
PHP Version: 6CVS-2007-02-03 (CVS)
New Comment:
Ah, this seems to occur when unicode.semantics is on.
Previous Comments:
------------------------------------------------------------------------
[2007-02-03 14:18:19] garmoan at gmail dot com
Description:
------------
date() does not seem to return the entire formatting string.
It seems to only parse the first character in the string and ignores
the rest.
Reproduce code:
---------------
echo date('H:i:s');
Expected result:
----------------
01:16:45
Actual result:
--------------
01
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40342&edit=1