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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php