mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
show tomorrows events after todays primetime
This commit is contained in:
@@ -181,8 +181,10 @@ void CChannelList::updateEvents(unsigned int from, unsigned int to)
|
||||
{
|
||||
struct tm * timeinfo;
|
||||
timeinfo = localtime(&atime);
|
||||
timeinfo->tm_hour = 20;
|
||||
timeinfo->tm_min = 0;
|
||||
if (timeinfo->tm_hour >=20 && timeinfo->tm_min >= 30)
|
||||
timeinfo->tm_mday += 1;
|
||||
timeinfo->tm_hour = 19;
|
||||
timeinfo->tm_min = 59;
|
||||
atime = mktime(timeinfo);
|
||||
}
|
||||
unsigned int count;
|
||||
|
Reference in New Issue
Block a user