Re: Fw: [PHP Wiki] new user: ajbellamy
| From: | Hannes Magnusson | Date: | Mon, 21 Jul 2008 15:05:16 +0000 |
| Subject: | Re: Fw: [PHP Wiki] new user: ajbellamy | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969379137@lists.php.net to get a copy of this message | ||
On Mon, Jul 21, 2008 at 16:34, Richard Quadling
<rquadling@googlemail.com> wrote:
>> ---------- Forwarded message ----------
>> From: <a_j_bellamy@hotmail.com>
>>
>> Please find attached the xml and html files for date_add() and date_sub().
>>
>> I can't add them to the repository as I do not have a username and
>> password
>
> Looks good, but I've got no DateInterval dox and the example for
> "date_add($date, new DateInterval('P5D5M5Y'));" is generating an error
> (Unknown or bad format (P5D5M5Y)).
And a minor WS issue:
<methodparam><type>DateTime</type><parameter>object</parameter></methodpa
ram>
<methodparam><type>DateInterval</type><parameter>object</parameter></meth
odparam>
"methodpa<enter>ram" and "meth<enter>odparam" for instance.
And paragraphs like
" The amount to be subtracted. For the date use "P3D", "P3M",
"P3Y" or
a combination of the three e.g. "P5D2M" (D = Days, M = Months, Y = Years)."
the "a combination.." should be indented like the first line.
Could you fix those Andy?
Other then that, looks good for a first timer :)
(btw: http://wiki.php.net/doc/articles/whitespace
is a good read for beginners)
-Hannes