mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +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);
|
||||
if ((timeinfo->tm_hour > 20) || (timeinfo->tm_hour == 20 && timeinfo->tm_min >= 30))
|
||||
timeinfo->tm_mday += 1;
|
||||
timeinfo->tm_hour = 19;
|
||||
timeinfo->tm_min = 59;
|
||||
timeinfo->tm_hour = 20;
|
||||
timeinfo->tm_min = 0;
|
||||
atime = mktime(timeinfo);
|
||||
}
|
||||
unsigned int count;
|
||||
|
Reference in New Issue
Block a user