You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Agreed - 1.17.1 shows this problem, but master does not! So I guess this is just a question of waiting for the code in master to become official. I have not yet identified the change which fixed this. I'll keep looking.
The problem had been in the implementation of the HOUR function. It was fixed by PR #1937, which was merged on March 21, about 19 days after 1.17.1 was released.
This is:
What is the expected behavior?
When use
Date::setDefaultTimezone();
with timezone other than UTC, function 'HOUR' should return correct value.What is the current behavior?
When use
Date::setDefaultTimezone();
with timezone other than UTC, function 'HOUR' return incorrect value.What are the steps to reproduce?
Please provide a Minimal, Complete, and Verifiable example of code that exhibits the issue without relying on an external Excel file or a web server:
results:
Which versions of PhpSpreadsheet and PHP are affected?
PHP 7.4.8
The text was updated successfully, but these errors were encountered: