From a8fc8e89884e0a5decb4665e1e789e3bb18fdf3c Mon Sep 17 00:00:00 2001 From: Frankenstone Date: Sun, 21 Feb 2021 18:39:40 +0100 Subject: [PATCH] sectionsd: update unixtime to 01.01.2021 00:00:00 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/409fb0267bdc481c86b85edf9f6e08349bf0e210 Author: Frankenstone Date: 2021-02-21 (Sun, 21 Feb 2021) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/eitd/sectionsd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/eitd/sectionsd.cpp b/src/eitd/sectionsd.cpp index d25f25e68..9c1a966e7 100644 --- a/src/eitd/sectionsd.cpp +++ b/src/eitd/sectionsd.cpp @@ -1573,8 +1573,8 @@ void CTimeThread::run() if(first_time) sleep_time = 5; } - /* in case of wrong TDT date, dont send time is set, 1325376000 - 01.01.2012 */ - if(time_ntp || (dvb_time > (time_t) 1325376000)) { + /* in case of wrong TDT date, dont send time is set, 1609455600 - 01.01.2021 00:00:00 */ + if(time_ntp || (dvb_time > (time_t) 1609455600)) { sendTimeEvent(time_ntp, dvb_time); debug(DEBUG_ERROR, "%s: Time set via %s, going to sleep for %d seconds.", name.c_str(), time_ntp ? "NTP" : first_time ? "DVB (TDT)" : "DVB (TOT)", sleep_time);