projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5588ffa
)
Fix test. This still isn't correct, because it should NOT consider DST changes.
author
Jan Schneider
<jan@horde.org>
Sun, 30 Aug 2009 09:52:17 +0000
(11:52 +0200)
committer
Jan Schneider
<jan@horde.org>
Sun, 30 Aug 2009 10:04:16 +0000
(12:04 +0200)
framework/Date/test/Horde/Date/DateTest.php
patch
|
blob
|
history
diff --git
a/framework/Date/test/Horde/Date/DateTest.php
b/framework/Date/test/Horde/Date/DateTest.php
index
34dd52c
..
33901c5
100644
(file)
--- a/
framework/Date/test/Horde/Date/DateTest.php
+++ b/
framework/Date/test/Horde/Date/DateTest.php
@@
-141,7
+141,7
@@
class Horde_Date_DateTest extends PHPUnit_Framework_TestCase
$this->assertEquals('2008-01-01 04:00:00', (string)$d->add(14400));
$span = new Horde_Date_Span('2006-01-01 00:00:00', '2006-08-16 00:00:00');
- $this->assertEquals('2006-04-24 1
2
:30:00', (string)$span->begin->add($span->width() / 2));
+ $this->assertEquals('2006-04-24 1
1
:30:00', (string)$span->begin->add($span->width() / 2));
}
public function testSetNthWeekday()