#40342 [Opn->Fbk]: date() function not parsing complete string format

From: Date: Mon, 05 Feb 2007 09:29:25 +0000
Subject: #40342 [Opn->Fbk]: date() function not parsing complete string format
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-108408@lists.php.net to get a copy of this message
ID: 40342 Updated by: tony2001@php.net Reported By: garmoan at gmail dot com -Status: Open +Status: Feedback Bug Type: Date/time related Operating System: Mac OS X 10.4 PHP Version: 6CVS-2007-02-03 (CVS) New Comment: Works just fine here (tested on MacOS). Previous Comments: ------------------------------------------------------------------------ [2007-02-04 07:38:01] judas dot iscariote at gmail dot com Works for me, with current CVS HEAD, Linux with unicode.semantics on/off.. ------------------------------------------------------------------------ [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 (#108408) next »