From f71dc8eab7c6969b6eacf0898d81927fbcc8d37c Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Fri, 7 Nov 2014 09:41:03 +0100 Subject: fix end-timestamp on daychange blocks --- lib/program.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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, ); } -- cgit v1.2.3