Re: RFC for Adding __toString to DateTime
| From: | Andrew Faulds | Date: | Sun, 02 Sep 2012 13:50:10 +0000 |
| Subject: | Re: RFC for Adding __toString to DateTime | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62672@lists.php.net to get a copy of this message | ||
On 02/09/12 14:40, Benjamin Eberlei wrote:
I 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.-- Andrew Faulds http://ajf.me/