Re: RFC for Adding __toString to DateTime
| From: | Andrew Faulds | Date: | Sun, 02 Sep 2012 20:53:32 +0000 |
| Subject: | Re: RFC for Adding __toString to DateTime | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62690@lists.php.net to get a copy of this message | ||
On 02/09/12 21:50, Derick Rethans wrote:
Yes, I am saying that ISO8601 is lossy - and that is something that shouldn't be the default format. Lossy of what? Local timezone?ISO 8601 is the single unambiguously ordered (no mm-dd/dd-mm confusion), international standard, machine-readable (default in ECMAScript, for instance) date/time format. I see no reason not to use it. Date/time should be UTC anyway when debugging. -- Andrew Faulds http://ajf.me/