From 3498fff069e4c02588fae02b3b44e0ded35cc0ee Mon Sep 17 00:00:00 2001 From: horchi Date: Sun, 16 Feb 2020 11:48:53 +0100 Subject: 2020-02-16: version 1.1.108 (horchi)\n - bugfix: 'Fix of fix' of time handling for timers without event :(\n\n --- HISTORY.h | 7 +++++-- ttools.c | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/HISTORY.h b/HISTORY.h index 7d6f064..6bf121e 100644 --- a/HISTORY.h +++ b/HISTORY.h @@ -5,8 +5,8 @@ * */ -#define _VERSION "1.1.107" -#define VERSION_DATE "14.02.2020" +#define _VERSION "1.1.108" +#define VERSION_DATE "16.02.2020" #define DB_API 7 @@ -19,6 +19,9 @@ /* * ------------------------------------ +2020-02-16: version 1.1.108 (horchi) + - bugfix: 'Fix of fix' of time handling for timers without event :( + 2020-02-14: version 1.1.107 (horchi,seahawk1986) - bugfix: Fixed cleanup of image links - change: Improved cleanup spead for images and links diff --git a/ttools.c b/ttools.c index 168fe63..685f383 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() ? tmeSecondsPerDay : 0); + time_t endTime = hhmm2L(t->Stop(), t->Day() + 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