prismicio-community / php-kit

Community maintained development kit for Prismic and the PHP language
https://prismic.io
Other
109 stars 83 forks source link

Test Prismic\Test\DocumentTest::testGetDate fails if date.timezone not set #22

Closed tremby closed 10 years ago

tremby commented 10 years ago

If date.timezone is not set in php.ini, this test fails. It's not really php-kit's fault for it to fail here, as far as I can tell, so it might be worth setting the timezone to UTC for the purposes of that test.

dohzya commented 10 years ago

Oops, I wanted to add a reference to the commit in the issue, not to close it :-)

I let you close the issue if you confirm the problem is solved!

tremby commented 10 years ago

Yes, this fixes it. Thanks.