Issues

ZF2-102: Timezone problems when Cache tests are processed

Issue Type: Unit Tests: Problem Created: 2011-11-12T22:30:08.000+0000 Last Updated: 2012-01-07T13:10:57.000+0000 Status: Closed Fix version(s): Reporter: Thomas Weidner (thomas) Assignee: Marc Bennewitz (private) (mabe) Tags: - Zend\Cache

Related issues: Attachments:

Description

<pre class="highlight">
D:\ZF2\tests>phpunit --verbose Zend
PHP Warning:  date_default_timezone_get(): It is not safe to rely on the system'
s timezone settings. You are *required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those methods and
you are still getting this warning, you most likely misspelled the timezone iden
tifier. We selected 'Europe/Paris' for '1.0/no DST' instead in D:\ZF2\tests
\Zend\Cache\TestCommonBackend.php on line 54

Warning: date_default_timezone_get(): It is not safe to rely on the system's tim
ezone settings. You are *required* to use the date.timezone setting or the date_
default_timezone_set() function. In case you used any of those methods and you a
re still getting this warning, you most likely misspelled the timezone identifie
r. We selected 'Europe/Paris' for '1.0/no DST' instead in D:\ZF2\tests\Zend
\Cache\TestCommonBackend.php on line 54

Comments

Posted by Marc Bennewitz (private) (mabe) on 2012-01-07T13:10:57.000+0000

Issue no longer exists after refactoring of Zend\Cache

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts