Re: rfc2616 datetime format?
| From: | Richard Lynch | Date: | Sun, 03 Oct 2010 11:38:36 +0000 |
| Subject: | Re: rfc2616 datetime format? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-49844@lists.php.net to get a copy of this message | ||
On Fri, October 1, 2010 8:18 pm, Stas Malyshev wrote:
> Any reason why DateTime doesn't have a constant for RFC2616 (HTTP)
> date
> format? RFC1123 and 'r' are _almost_ there but 2616 explicitly states
> TZ
> must be "GMT" and 1123 format produces +0000 instead.
If you'd find it useful, I don't see any reason not to add it...
There are an awful lot of RFC date formats, I guess, and I suppose it
could be overwhelming eventually, but they seem innocuous enough to
just add as needed.
--
brain cancer update:
http://richardlynch.blogspot.com/search/label/brain%20tumor
Donate:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FS9NLTNEEKWBE