Doc #55729 [NEW]: Simple date mistake !

From: Date: Mon, 19 Sep 2011 20:14:24 +0000
Subject: Doc #55729 [NEW]: Simple date mistake !
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-7233@lists.php.net to get a copy of this message
From: Operating system: Linux / Irrelevant PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:Simple date mistake ! 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 bug report at https://bugs.php.net/bug.php?id=55729&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55729&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55729&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55729&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=55729&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55729&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=55729&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=55729&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=55729&r=needscript Try newer version: https://bugs.php.net/fix.php?id=55729&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=55729&r=support Expected behavior: https://bugs.php.net/fix.php?id=55729&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=55729&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=55729&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=55729&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55729&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=55729&r=dst IIS Stability: https://bugs.php.net/fix.php?id=55729&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=55729&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=55729&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=55729&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=55729&r=mysqlcfg

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