#48887 [Opn->Csd]: DateTime::sub internal parameter typos

From: Date: Mon, 13 Jul 2009 13:08:13 +0000
Subject: #48887 [Opn->Csd]: DateTime::sub internal parameter typos
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2477@lists.php.net to get a copy of this message
ID: 48887 Updated by: rquadling@php.net Reported By: tobias382 at gmail dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant 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: ------------------------------------------------------------------------ [2009-07-11 15:46:27] tobias382 at gmail dot com Patch for phpdoc/en/trunk/reference/datetime/datetime/sub.xml: 44,45c44,45 < "T3H", "T3M", "T3S" or or a combination of the three e.g. "T5H20M" (H = < Hours, M = Minutes, S = Seconds). For dateTime us "P5D2M4YT5H20M". The --- > "T3H", "T3M", "T3S" or a combination of the three e.g. "T5H20M" (H = > Hours, M = Minutes, S = Seconds). For dateTime use "P5Y2M4DT5H20M". The ------------------------------------------------------------------------ [2009-07-11 15:40:04] tobias382 at gmail dot com Description: ------------ The description of the interval parameter for the DateTime::sub() method has an extra "or," a usage of "us" instead of "use," and an example of formatting a datetime interval where the year and day are reversed that conflicts with the earlier statement within that parameter's description that a year-month-day order is required. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48887&edit=1

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