[php-src] Issue #8745: Date timezones offsets different in 8.2.0alpha1

From: Date: Fri, 10 Jun 2022 10:37:17 +0000
Subject: [php-src] Issue #8745: Date timezones offsets different in 8.2.0alpha1
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-241705@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8745 Author: shyim ### Description The following code: ```php <?php var_dump((new \DateTime('2020-05-15 22:00:00', new \DateTimeZone('EDT')))->getTimestamp()); var_dump((new \DateTime('2020-05-16 03:00:00', new \DateTimeZone('UTC')))->getTimestamp()); ``` produces equal numbers in all stable releases, but in 8.2.0alpha1 they differ a hour. This change in 8.2 looks correct for me as https://www.timeanddate.com/time/zones/edt says it has 4 hours, but to make sure I just ask there again. Maybe @derickr does now better 🙈 Released versions: https://3v4l.org/kK9De#v8.1.7 8.2.0 https://3v4l.org/kK9De/rfc#vgit.master ### PHP Version PHP 8.2.0alpha1 ### Operating System macOS 14. Beta ventura

« previous php.bugs (#241705) next »