diff options
author | MaZderMind | 2014-11-10 00:43:39 +0100 |
---|---|---|
committer | MaZderMind | 2014-11-10 00:43:39 +0100 |
commit | 64031cbcb8463748695bab915fe5de2574d09b0d (patch) | |
tree | 176f42c39aff9ab1beb4c92a53cc7a535e111515 | |
parent | 7007ae6f78332c6a5c7ca631e72dc7736345d8de (diff) |
fix daychange end calculation w/ new timestamp format
-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 b599f9c..cc8025d 100644 --- a/lib/program.php +++ b/lib/program.php @@ -122,7 +122,7 @@ function program() 'title' => 'Daychange from Day '.$dayidx.' to '.($dayidx+1), 'start' => $dayend, - 'end' => strtotime((string)$schedule->day[$dayidx]['start']), + 'end' => (int)$schedule->day[$dayidx]['start'], 'duration' => 60*60, ); } |