Skip to content

[VarDumper] Make dumping DateInterval instances timezone-independent #43867

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 1, 2021

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Nov 1, 2021

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets N/A
License MIT
Doc PR N/A

In our CI, we currently see failing VarDumper tests because the tests have been executed close to the end of DST in Europe. This PR attempts to make dumping DateInterval instances more robust by decoupling the dumper from global timezone settings and the current date.

Signed-off-by: Alexander M. Turek <me@derrabus.de>
@fabpot
Copy link
Member

fabpot commented Nov 1, 2021

Thank you @derrabus.

@fabpot fabpot merged commit 897d2c9 into symfony:4.4 Nov 1, 2021
@derrabus derrabus deleted the bugfix/var-dumper-interval branch November 1, 2021 15:12
This was referenced Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants