projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c372eee
)
Ensure the correct timezone here.
author
Gunnar Wrobel
<p@rdus.de>
Mon, 12 Apr 2010 08:49:08 +0000
(10:49 +0200)
committer
Gunnar Wrobel
<p@rdus.de>
Mon, 12 Apr 2010 08:49:08 +0000
(10:49 +0200)
framework/Kolab_Format/test/Horde/Kolab/Format/RecurrenceTest.php
patch
|
blob
|
history
diff --git
a/framework/Kolab_Format/test/Horde/Kolab/Format/RecurrenceTest.php
b/framework/Kolab_Format/test/Horde/Kolab/Format/RecurrenceTest.php
index
1917021
..
1e070d4
100644
(file)
--- 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