Re: Was deprecation of DATE_RFC7231 and DateTimeInterface::RFC7231 a mistake?

From: Date: Wed, 21 Jan 2026 15:33:45 +0000
Subject: Re: Was deprecation of DATE_RFC7231 and DateTimeInterface::RFC7231 a mistake?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-129808@lists.php.net to get a copy of this message
Hi Am 2026-01-21 16:17, schrieb Andreas Heigl:
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).
Best regards Tim Düsterhus

« previous php.internals (#129808) next »