mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
- channellist: set beginning of primetime to 20:00
This commit is contained in:
@@ -183,8 +183,8 @@ void CChannelList::updateEvents(unsigned int from, unsigned int to)
|
|||||||
timeinfo = localtime(&atime);
|
timeinfo = localtime(&atime);
|
||||||
if ((timeinfo->tm_hour > 20) || (timeinfo->tm_hour == 20 && timeinfo->tm_min >= 30))
|
if ((timeinfo->tm_hour > 20) || (timeinfo->tm_hour == 20 && timeinfo->tm_min >= 30))
|
||||||
timeinfo->tm_mday += 1;
|
timeinfo->tm_mday += 1;
|
||||||
timeinfo->tm_hour = 19;
|
timeinfo->tm_hour = 20;
|
||||||
timeinfo->tm_min = 59;
|
timeinfo->tm_min = 0;
|
||||||
atime = mktime(timeinfo);
|
atime = mktime(timeinfo);
|
||||||
}
|
}
|
||||||
unsigned int count;
|
unsigned int count;
|
||||||
|
Reference in New Issue
Block a user