Ticket #1692: eithelper.diff

File eithelper.diff, 558 bytes (added by cizek@…, 14 years ago)

Fixes time problem in EIT data

  • mythtv/libs/libmythtv/eithelper.cpp

     
    333333
    334334    QDateTime starttime;
    335335    int t = secs_Between_1Jan1970_6Jan1980 + gps_offset + event.start_time;
    336     starttime.setTime_t(t, Qt::UTC);
     336    starttime.setTime_t(t);
     337
     338    starttime = MythUTCToLocal(starttime);
     339
    337340    EITFixUp::TimeFix(starttime);
    338341    QDateTime endtime = starttime.addSecs(event.length);
    339342