Skip to content

Add a setter on DateTimeNormalizer to change the default context at runtime #44125

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 18, 2021

Conversation

Seldaek
Copy link
Member

@Seldaek Seldaek commented Nov 18, 2021

Q A
Branch? 5.4
Bug fix? no
New feature? yes
Deprecations? no
Tickets
License MIT
Doc PR symfony/symfony-docs#...

Allows changing the default once the default timezone is known, if you do have a per-user default timezone which is only known at runtime and can't be baked in the container.

@fabpot
Copy link
Member

fabpot commented Nov 18, 2021

Thank you @Seldaek.

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