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::createFromFormat and DateTimeImmutable::createFromFormat ignore the timezone paremeter #7237

nyamsprod opened this Issue Jul 19, 2016 · 0 comments


None yet
3 participants

nyamsprod commented Jul 19, 2016

HHVM Version

All version

Standalone code, or other way to reproduce the problem

Expected result

Both DateTime and DateTimeInterface createFromFormat method should retain the original Date Timezone information like with the Zend Engine

Actual result

The timezone info is lost and the object uses the default(?) timezone of the environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment