From 64031cbcb8463748695bab915fe5de2574d09b0d Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Mon, 10 Nov 2014 00:43:39 +0100 Subject: fix daychange end calculation w/ new timestamp format --- lib/program.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/program.php') 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, ); } -- cgit v1.2.3