projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46268a6
)
Fix setting of end date of events that last beyond the requested time period.
author
Jan Schneider
<jan@horde.org>
Mon, 6 Apr 2009 16:27:32 +0000
(18:27 +0200)
committer
Jan Schneider
<jan@horde.org>
Mon, 6 Apr 2009 17:02:16 +0000
(19:02 +0200)
kronolith/lib/Kronolith.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Kronolith.php
b/kronolith/lib/Kronolith.php
index
40e6273
..
9f5aa18
100644
(file)
--- a/
kronolith/lib/Kronolith.php
+++ b/
kronolith/lib/Kronolith.php
@@
-782,7
+782,7
@@
class Kronolith
/* Work out what day it ends on. */
if ($event->end->compareDateTime($endDate) > 0) {
/* Ends after the end of the period. */
- $eventEnd = clone $e
vent->end
;
+ $eventEnd = clone $e
ndDate
;
} else {
/* If the event doesn't end at 12am set the end date to the
* current end date. If it ends at 12am and does not end at