Re: RFC for Adding __toString to DateTime
| From: | Lester Caine | Date: | Sun, 02 Sep 2012 14:06:55 +0000 |
| Subject: | Re: RFC for Adding __toString to DateTime | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62673@lists.php.net to get a copy of this message | ||
Andrew Faulds wrote:
-- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.ukI think allowing to change teh default format would be horrible. If libraries (such as Doctrine would) use this internally, they are at the will of users not to fiddle with this setting. Not to speak about libraries that contradict each other. If there was a format, it would have to be constant imho.Then ISO8601, please. It's a single, unambiguous Date and Time format. WRONG !!!