[php-src] Issue #8432: Incorrect DST Calculation in Intl
| From: | jimbo2150 | Date: | Sat, 23 Apr 2022 22:06:17 +0000 |
| Subject: | [php-src] Issue #8432: Incorrect DST Calculation in Intl | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241206@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8432
Comment Author: jimbo2150
If I were creating a new date with that time, I would agree. But it's going from March 13 prior
to the DST change to a date after. Seems a bit strange that adding hours specifically would account
for the change while adding a day does not. They both cross a DST boundary and seems like they
should both account for it.
Also don't think the majority of people are going to think, I need to add a month, let me
calculate that in hours and add it to make sure DST is accounted for... No, they will just add a
day, a month, etc. and end up with the wrong time (unless they are also changing a time value along
with a day/month value).