summaryrefslogtreecommitdiff
path: root/ext/date/tests/forward-transition-construction.phpt
Commit message (Collapse)AuthorAgeFilesLines
* Fixed "Forward Transition" construction of DateTime objects.Derick Rethans2013-11-281-0/+27
This fixes the issue in https://wiki.php.net/rfc/datetime_and_daylight_saving_time#forward_transitions There is a period during transition to DST where a time (such as 02:30) does not exist. PHP already calculated the correct timestamp for this, but failed to "rounded forward" to the existing correct hour value.