Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129808 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id BC9F11A00BC for ; Wed, 21 Jan 2026 15:33:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1769009635; bh=1BLtgSawjAEVdcV87enAb2VCuK4kM8JWJKrA1R2S6NE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Xo9pvpi+mV04TQntALR8IcEFxeBCu2G/OKWgFbEmBzwdSOzgpLWLavTcMWLGCDtWm EJUGWx6dkI/nCK5Q+zPjl4/W5k0Or1CoWxmV66oVB+tzeYocW2Y3HQbPfjhQKXitep Da7eauOgfe3E4mrG5E86T/4Nue9GTl8SdI3CYxH5SUz62oV3ScWjFwyP1bbQxHiBQe mfX80VN1jqdSnd9gUMdjPf0vf7lJzMMdXYEa4d6EDI+ZIOa7i7BQdBlmhdmo8pP8hS ZJkxTC2Fc4oUg2xLd+nqYtDr3Fj7D06KK7Ytpaoi3znIaCaD7a9N0cBvJrje0BAu0v vL9e7VAMbYXMQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0A64318073E for ; Wed, 21 Jan 2026 15:33:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 21 Jan 2026 15:33:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1769009626; bh=lOJ5GJMDg+6eaNsoSpfwfdNZYL8GmoalDTBEY7NjNXM=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=OZaCU6gktlMdXYrbP3hITfsKiKXz7YaF2yEelQzCMr/DH/zCLtHvHstcQ8/NoquqD 3igymv9GP1OuVPIdriVy80oYe8gw5dzjZsVAs79FJeRNi98L7PtKVKzpv1efzdqNtV zsC5wlmzPpJcZDbfZWwBwp+3Q4iZe12UYAsrfstHLkiF/s1DAmYlOyZZa+jGGJ60Xs o9RFqXg8Hqe15zkoGiRpkaMDOgCHW2Cv9mitzz0YxXYjKqxS7r9c7JiTNYsLI3W4dK pHRK7dtXSMqT9fcd3E+QKX/xuiBviYO6OMSMXE7FKwkLjTS8Oxc4vkguRyWvv5U5L+ dvZvVfjjsvs0g== Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Date: Wed, 21 Jan 2026 16:33:45 +0100 To: Andreas Heigl Cc: internals@lists.php.net Subject: Re: [PHP-DEV] Was deprecation of DATE_RFC7231 and DateTimeInterface::RFC7231 a mistake? In-Reply-To: <795bff15-ebb1-4cf8-a189-15ca93467ea1@heigl.org> References: <795bff15-ebb1-4cf8-a189-15ca93467ea1@heigl.org> Message-ID: <0c3bed9e14187b434650debe07c0dd0d@bastelstu.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) 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