Changeset 20261


Ignore:
Timestamp:
03/01/13 00:19:37 (11 years ago)
Author:
nit
Message:

[titan] fix 24:00 in epgscan

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/epgscan.h

    r20132 r20261  
    3636        }
    3737
    38         loctime = localtime(&akttime);
     38        loctime = olocaltime(&akttime);
    3939        daylight = loctime->tm_isdst;
    4040        loctime->tm_sec = 0;
     
    4747                starttime = mktime(loctime);
    4848
     49        free(loctime); loctime = NULL;
    4950        free(buf); buf = NULL;
    5051        if(starttime < akttime) starttime += 86400;
  • titan/titan/epgsettings.h

    r20130 r20261  
    162162        addchoicebox(epgrefresh, "22:00", "22:00");
    163163        addchoicebox(epgrefresh, "23:00", "23:00");
    164         addchoicebox(epgrefresh, "24:00", "24:00");
     164        addchoicebox(epgrefresh, "23:59", "24:00");
    165165        setchoiceboxselection(epgrefresh, getconfig("epg_refreshtime", NULL));
    166166               
Note: See TracChangeset for help on using the changeset viewer.