From 77d13f63d0d0953796b9c859ad1fb54a64f78f47 Mon Sep 17 00:00:00 2001 From: horchi Date: Sat, 29 Feb 2020 16:14:49 +0100 Subject: 2020-02-29: version 1.1.111 (horchi)\n - bugfix: Fixed time calculation\n\n --- ttools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ttools.c') diff --git a/ttools.c b/ttools.c index 58dcd44..25b2fdb 100644 --- a/ttools.c +++ b/ttools.c @@ -330,7 +330,7 @@ int updateRowByTimer(cDbRow* timerRow, const cTimer* t) contentOfTag(t, "source", source, 40); time_t startTime = hhmm2L(t->Start(), t->Day()); - time_t endTime = hhmm2L(t->Stop(), t->Day() + t->Stop() < t->Start() ? t->Day() + tmeSecondsPerDay : t->Day()); + time_t endTime = hhmm2L(t->Stop(), t->Stop() < t->Start() ? t->Day() + tmeSecondsPerDay : t->Day()); timerRow->setValue("VDRUUID", Epg2VdrConfig.uuid); timerRow->setValue("EVENTID", t->Event() ? (long)t->Event()->EventID() : 0); -- cgit v1.2.3