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

DateTime : changing timezone #96

Open
jdeniau opened this issue Oct 10, 2019 · 0 comments
Open

DateTime : changing timezone #96

jdeniau opened this issue Oct 10, 2019 · 0 comments

Comments

@jdeniau
Copy link
Member

jdeniau commented Oct 10, 2019

This follows #95, it could be usefull to change datetime timezone before formating.

This operation should not alter original value, so we need to convert DateTime instances to DateTimeImmutable (with DateTimeImmutable::fromMutable($d)) to do the job.

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

No branches or pull requests

1 participant