Re: svn: /phpdoc/en/trunk/reference/datetime/ formats.xml

From: Date: Sun, 04 Dec 2011 11:46:50 +0000
Subject: Re: svn: /phpdoc/en/trunk/reference/datetime/ formats.xml
References: 1  Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-9143@lists.php.net to get a copy of this message
On Sun, Nov 27, 2011 at 04:58, Justin Martin <frozenfire@php.net> wrote: > frozenfire                               Sun, 27 Nov 2011 03:58:58 +0000 > > Revision: > http://svn.php.net/viewvc?view=revision&revision=320010 > > Log: > Added note regarding the behaviour of relative months. Closes bug #60353. > > Bug: https://bugs.php.net/60353 (Open) Date-related > "Relative Formats" doesn't indicate month behaviour > > Changed paths: >    U   phpdoc/en/trunk/reference/datetime/formats.xml > > Modified: phpdoc/en/trunk/reference/datetime/formats.xml > =================================================================== > --- phpdoc/en/trunk/reference/datetime/formats.xml      2011-11-27 03:45:48 UTC (rev 320009) > +++ phpdoc/en/trunk/reference/datetime/formats.xml      2011-11-27 03:58:58 UTC (rev 320010) > @@ -890,6 +890,14 @@ >     </listitem> >    </orderedlist> >   </note> > +  <note> > +               <para> > +                       Relative month values are calculated based on the length of > months that > +                       they pass through. An example would be "+2 month > 2011-11-30", which would > +                       produce "2012-01-30". This is due to November > being 30 days in length, and > +                       December being 31 days in length, producing a total of 61 > days. > +               </para> > +  </note> Please follow the codingstandard.. one space indent, not 10 :) And the text in the quotes should probably be inside <literal> -Hannes

« previous php.doc.cvs (#9143) next »