aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/program.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/program.php b/lib/program.php
index 9da309b..c134b8e 100644
--- a/lib/program.php
+++ b/lib/program.php
@@ -96,7 +96,7 @@ function program()
'title' => 'Daychange from Day '.$dayidx.' to '.($dayidx+1),
'start' => $dayend,
- 'end' => strtotime((string)$schedule->day[$dayidx+1]['start']),
+ 'end' => strtotime((string)$schedule->day[$dayidx]['start']),
'duration' => 60*60,
);
}