From 3de054795342c884cbd2c83247e81f09dcb4aef2 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Wed, 6 Mar 2019 23:15:01 +0100 Subject: [PATCH] channellist: set beginning of primetime to 20:00 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/fb65c1b463a9c217a11beda5d86f8f1e13eb8a2a Author: TangoCash Date: 2019-03-06 (Wed, 06 Mar 2019) Origin message was: ------------------ - channellist: set beginning of primetime to 20:00 ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/channellist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 732dc7a80..1f5f16daa 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -182,8 +182,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;