|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-01-11 08:31 UTC] heiglandreas@php.net
-Status: Open
+Status: Wont fix
[2017-01-11 08:31 UTC] heiglandreas@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 07:00:01 2025 UTC |
Description: ------------ DST detection for late dates (timestamp over int32) Test script: --------------- $date = new DateTime('2020-05-25 12:00:00', new DateTimeZone('Europe/Warsaw')); echo $date->format(DateTime::ATOM), ' ', $date->format('I U'); $date = new DateTime('2050-05-25 12:00:00', new DateTimeZone('Europe/Warsaw')); echo $date->format(DateTime::ATOM), ' ', $date->format('I U'); Expected result: ---------------- 2020-05-25T12:00:00+02:00 1 1590400800 2050-05-25T12:00:00+02:00 1 2537089200 Actual result: -------------- 2020-05-25T12:00:00+02:00 1 1590400800 2050-05-25T12:00:00+01:00 0 2537089200