Skip to content
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

More timezone fixes #19

Merged
merged 3 commits into from
Mar 5, 2024
Merged

More timezone fixes #19

merged 3 commits into from
Mar 5, 2024

Conversation

kasperg
Copy link
Contributor

@kasperg kasperg commented Mar 5, 2024

No description provided.

kasperg added 2 commits March 5, 2024 09:35
We need timezones to be the same across all elements of the
application.

Doctrine requires the same timezone to be used when saving and loading
dates.
https://www.doctrine-project.org/projects/doctrine-orm/en/2.19/cookbook/working-with-datetime.html#default-timezone-gotcha

If timezones are different then the system will not be able to
identify a cover file as being unchanged because the modified time
might be different.

Consequently we need to avoid setting the timezone explicitly
whereever possible.
@kasperg kasperg force-pushed the more-timezone-fixes branch 2 times, most recently from 3144659 to 21f4a3c Compare March 5, 2024 09:59
We do not have the same access to PHP.ini through all development and
production environments. Consequently we set this in the application
kernel instead.
@kasperg kasperg force-pushed the more-timezone-fixes branch from 21f4a3c to bd1fa3e Compare March 5, 2024 10:00
@kasperg kasperg merged commit 0eb1be6 into develop Mar 5, 2024
13 checks passed
@kasperg kasperg deleted the more-timezone-fixes branch March 5, 2024 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant