Doc #52216 [Wfx->Bgs]: Interval spec duplicates the identifier for Minutes and Months (M)

From: Date: Thu, 01 Jul 2010 08:46:59 +0000
Subject: Doc #52216 [Wfx->Bgs]: Interval spec duplicates the identifier for Minutes and Months (M)
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4624@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=52216&edit=1 ID: 52216 Updated by: rquadling@php.net Reported by: elliot dot a at gmail dot com Summary: Interval spec duplicates the identifier for Minutes and Months (M) -Status: Wont fix +Status: Bogus Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant New Comment: This is not a "won't fix bug". It is not a bug at all. Previous Comments: ------------------------------------------------------------------------ [2010-07-01 07:19:37] aharvey@php.net The string representation for input to the DateInterval class is actually the ISO 8601 duration specification, which is a standard far beyond the world of PHP. Within that standard, the M is not ambiguous: if it's before the T in the input, then it's months, if it's after, then it's minutes (since the post-T section is the time specification). ------------------------------------------------------------------------ [2010-07-01 07:11:15] elliot dot a at gmail dot com Description: ------------ Should the minute identifier in the documentation be I in keeping with the time formatting standards? Otherwise the M identifier is ambiguous. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52216&edit=1

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