Doc #55729 [Opn->Csd]: [FR] Simple date mistake !
| From: | yannick@php.net | Date: | Fri, 23 Sep 2011 04:53:11 +0000 |
| Subject: | Doc #55729 [Opn->Csd]: [FR] Simple date mistake ! | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-7248@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55729&edit=1
ID: 55729
Updated by: yannick@php.net
Reported by: samuel-kay at 401kay dot fr
Summary: [FR] Simple date mistake !
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Translation problem
Operating System: Irrelevant
PHP Version: Irrelevant
-Assigned To:
+Assigned To: yannick
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-09-23 04:52:32] yannick@php.net
Automatic comment from SVN on behalf of yannick
Revision: http://svn.php.net/viewvc/?view=revision&revision=317175
Log: Fix bug #55729
------------------------------------------------------------------------
[2011-09-19 20:14:23] samuel-kay at 401kay dot fr
Description:
------------
---
From manual page: http://www.php.net/function.date#refsect1-function.date-examples
---
In the French section but not in the English section.
In exemple 4, we have
"// Aujourd'hui, le 12 Mars 2001, 5:16:18 pm, Fuseau horaire
// Mountain Standard Time (MST)"
=> Today : 12th March 2001, 5:16:18
2nd line befor the end, we have :
$today = date('H:m:s \m \e\s\t\ \l\e\ \m\o\i\s'); // 17:16:18 m est le mois
"m stand for month".
ok, but the result should be // 17:03:18
So the difference with the next line should be easier to understand :
$today = date("H:i:s"); // 17:16:18
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55729&edit=1