From: Gunnar Wrobel Date: Mon, 12 Apr 2010 08:49:08 +0000 (+0200) Subject: Ensure the correct timezone here. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2534a9e796e6c683b6e071817d8d09b2ef39cd76;p=horde.git Ensure the correct timezone here. --- diff --git a/framework/Kolab_Format/test/Horde/Kolab/Format/RecurrenceTest.php b/framework/Kolab_Format/test/Horde/Kolab/Format/RecurrenceTest.php index 1917021ab..1e070d4a2 100644 --- a/framework/Kolab_Format/test/Horde/Kolab/Format/RecurrenceTest.php +++ b/framework/Kolab_Format/test/Horde/Kolab/Format/RecurrenceTest.php @@ -47,8 +47,15 @@ class Horde_Kolab_Format_RecurrenceTest extends PHPUnit_Framework_TestCase } Horde_Nls::setCharset('utf-8'); + + $this->_oldTimezone = date_default_timezone_get(); + date_default_timezone_set('Europe/Berlin'); } + public function tearDown() + { + date_default_timezone_set($this->_oldTimezone); + } /** * Test for http://bugs.horde.org/ticket/?id=6388