sectionsd: update unixtime to 01.01.2021 00:00:00

Origin commit data
------------------
Branch: ni/coolstream
Commit: 409fb0267b
Author: Frankenstone <dampf_acc@online.de>
Date: 2021-02-21 (Sun, 21 Feb 2021)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Frankenstone
2021-02-21 18:39:40 +01:00
committed by vanhofen
parent d48904b0b1
commit a8fc8e8988

View File

@@ -1573,8 +1573,8 @@ void CTimeThread::run()
if(first_time) if(first_time)
sleep_time = 5; sleep_time = 5;
} }
/* in case of wrong TDT date, dont send time is set, 1325376000 - 01.01.2012 */ /* 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) 1325376000)) { if(time_ntp || (dvb_time > (time_t) 1609455600)) {
sendTimeEvent(time_ntp, dvb_time); sendTimeEvent(time_ntp, dvb_time);
debug(DEBUG_ERROR, "%s: Time set via %s, going to sleep for %d seconds.", name.c_str(), 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); time_ntp ? "NTP" : first_time ? "DVB (TDT)" : "DVB (TOT)", sleep_time);