Re: Was deprecation of DATE_RFC7231 and DateTimeInterface::RFC7231 a mistake?
| From: | Andreas Heigl | Date: | Wed, 21 Jan 2026 15:59:50 +0000 |
| Subject: | Re: Was deprecation of DATE_RFC7231 and DateTimeInterface::RFC7231 a mistake? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-129810@lists.php.net to get a copy of this message | ||
On 21.01.26 16:33, Tim Düsterhus wrote:
Attachment: [application/pgp-signature] OpenPGP digital signature OpenPGP_signature.asc
Hi Am 2026-01-21 16:17, schrieb Andreas Heigl:In all fairness: It is really hard for me to take someone serious that is posting this: And I am also quoting from RFC 9110#5.6.7 "The first two formats indicate UTC by the three-letter abbreviation for Greenwich Mean Time, "GMT", a predecessor of the UTC name;" That is about the same as saying "Prices are indicated in Euro by the three-letter abbreviation for US-Dollar, 'USD', a predecessessor of the EUR name" Anyhow! This is a technicallity that in most cases is irrelevant and does not invalidate the rest of the message Cheers Andreas -- ,,, (o o) +---------------------------------------------------------ooO-(_)-Ooo-+ | Andreas Heigl | | mailto:andreas@heigl.org N 50°22'59.5" E 08°23'58" | | https://andreas.heigl.org | +---------------------------------------------------------------------+ | https://hei.gl/appointmentwithandreas | +---------------------------------------------------------------------+ | GPG-Key: https://hei.gl/keyandreasheiglorg | +---------------------------------------------------------------------+As RFC7231 explicitly requests GMT I'd even reject formatting a DateTime-object that has been set to UTC.Quoting from RFC 9110#5.6.7:An HTTP-date value represents time as an instance of Coordinated Universal Time (UTC).
Attachment: [application/pgp-signature] OpenPGP digital signature OpenPGP_signature.asc