aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind2014-11-07 09:41:03 +0100
committerMaZderMind2014-11-07 09:41:03 +0100
commitf71dc8eab7c6969b6eacf0898d81927fbcc8d37c (patch)
treee276dfcfeb1d89c515d7dff55497c966dfde556c
parent5704413298c15cb05e0a55dbaff0274da01ef39a (diff)
fix end-timestamp on daychange blocks
Diffstat (limited to '')
-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,
);
}