#40342 [Com]: date() function not parsing complete string format

From: Date: Sun, 04 Feb 2007 07:38:01 +0000
Subject: #40342 [Com]: date() function not parsing complete string format
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-108385@lists.php.net to get a copy of this message
ID: 40342 Comment by: judas dot iscariote 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: Works for me, with current CVS HEAD, Linux with unicode.semantics on/off.. Previous Comments: ------------------------------------------------------------------------ [2007-02-03 14:31:05] garmoan at gmail dot com Ah, this seems to occur when unicode.semantics is on. ------------------------------------------------------------------------ [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

« previous php.bugs (#108385) next »