1--TEST-- 2Bug GH-10447 ('p' format specifier does not yield 'Z' for 00:00) 3--FILE-- 4<?php 5$date = new \DateTimeImmutable('2023-01-25T00:00:00+00:00'); 6echo $date->format('Y-m-d\TH:i:sp'), "\n"; 7 8$date = new \DateTimeImmutable('2023-01-25T00:00:00-00:00'); 9echo $date->format('Y-m-d\TH:i:sp'), "\n"; 10?> 11--EXPECT-- 122023-01-25T00:00:00Z 132023-01-25T00:00:00Z 14