[php-src] PR #18054: Fix GH-#18051 (DateTimeZone->getTransitions can return first transition twice)
| From: | marc-mabe | Date: | Thu, 13 Mar 2025 21:16:11 +0000 |
| Subject: | [php-src] PR #18054: Fix GH-#18051 (DateTimeZone->getTransitions can return first transition twice) | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31056@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18054
Author: marc-mabe
This PR fixes duplicated transitions in
DateTimeZone->getTransitions() by memorizing
the last transition timestamp reported before the next transition gets added to the resulting array.