Doc #54070 [Opn->Csd]: Wrong example for strftime %c parameter

From: Date: Tue, 22 Feb 2011 14:06:06 +0000
Subject: Doc #54070 [Opn->Csd]: Wrong example for strftime %c parameter
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6019@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54070&edit=1 ID: 54070 Updated by: shein@php.net Reported by: confik at gmail dot com Summary: Wrong example for strftime %c parameter -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: shein Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2011-02-22 15:05:14] shein@php.net Automatic comment from SVN on behalf of shein Revision: http://svn.php.net/viewvc/?view=revision&revision=308567 Log: Fixed a typo in example of %c parameter (closes #54070). ------------------------------------------------------------------------ [2011-02-22 14:36:53] confik at gmail dot com Description: ------------ See description %c parameter on strftime: http://php.net/strftime. It says following: %c Preferred date and time stamp based on local Example: Tue Feb 5 00:45:10 2009 for February 4, 2009 at 12:45:10 AM Result, obviously, should be Tue Feb 4 00:45:10 2009 because of the input date February 4, 2009 at 12:45:10 AM. Expected result: ---------------- Example: Tue Feb 5 00:45:10 2009 for February 5, 2009 at 12:45:10 AM ----------------------------------------------^ Actual result: -------------- Example: Tue Feb 5 00:45:10 2009 for February 4, 2009 at 12:45:10 AM ----------------------------------------------^ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54070&edit=1

« previous php.doc.bugs (#6019) next »