On Mon, Jul 21, 2008 at 16:34, Richard Quadling
<[EMAIL PROTECTED]> wrote:
>> ---------- Forwarded message ----------
>> From:  <[EMAIL PROTECTED]>
>>
>> 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

Reply via email to