diff options
author | MaZderMind | 2014-11-07 09:41:03 +0100 |
---|---|---|
committer | MaZderMind | 2014-11-07 09:41:03 +0100 |
commit | f71dc8eab7c6969b6eacf0898d81927fbcc8d37c (patch) | |
tree | e276dfcfeb1d89c515d7dff55497c966dfde556c /lib | |
parent | 5704413298c15cb05e0a55dbaff0274da01ef39a (diff) |
fix end-timestamp on daychange blocks
Diffstat (limited to '')
-rw-r--r-- | lib/program.php | 2 |
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, ); } |