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

Add serialize and deserialize timezone shifting support #9

Closed
wants to merge 2 commits into from

Conversation

LucasTheCure
Copy link

Allows to set destination timezone during serialization and deserialization.
Already provided defaultTimezone is used during deserialization only if timezone is absent in serialized string. This PR allows to force timezone to required one.

Some differences are between date comparison between php 5.6 and 7.0. That is why new functionality is limited to version 7.0 and above

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.

2 participants