Skip to content

Run tests with UTC to avoid daylight saving time messing with assertions #48042

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, 2022

Conversation

MatTheCat
Copy link
Contributor

@MatTheCat MatTheCat commented Oct 29, 2022

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

Pipelines are failing today (like https://github.com/symfony/symfony/actions/runs/3350921526/jobs/5552038137#step:7:710) because it’s the eve of setting clocks back by one hour in the Europe/Paris timezone, so one day from now is 25 instead of 24 hours.

This PR just changes the timezone to UTC where there is no daylight saving time.

@fabpot
Copy link
Member

fabpot commented Nov 1, 2022

Thank you @MatTheCat.

@fabpot fabpot merged commit a20ea63 into symfony:4.4 Nov 1, 2022
@MatTheCat MatTheCat deleted the test_against_utc branch November 1, 2022 11:15
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.

4 participants