mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
sectionsd: update unixtime to 01.01.2021 00:00:00
This commit is contained in:
@@ -1570,8 +1570,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);
|
||||
|
Reference in New Issue
Block a user