[mythtv-users] Time change causes problems
Endaf Jones
jonese at zener.com
Sun Apr 3 18:55:39 UTC 2005
Seems to make sense. I started seeing problems Saturday night and lost
several programs that evening (Mountain timezone).
I'm running qt-3.3.4.
This needs to be brought to mythtv-dev for the dev's to comment on.
For now, I'm just changing the "recording schedules" start early / end
late options by 60 (-60/ +60) minutes for each program schedule. It's
easy to do with the mythweb. I can't (or rather won't) change my
timezone as I have other things on this box that I don't really want to
risk breaking.
# Endaf
Andrew McNabb wrote:
>On Sun, Apr 03, 2005 at 12:15:50PM -0600, Andrew McNabb wrote:
>
>
>>I ran into a page with a changelog for QT 3.3.4. [1] Halfway down the
>>page it mentions a fix: "QDateTime: Fixed bug in secsTo() during
>>daylight savings transitions." It doesn't give any more detail on
>>what the bug or the fix was, but it's possible that it's related.
>>
>>
>
>
>Okay. I think I know for sure what the exact problem is. We count the
>number of seconds from Jan 1, 1970 to the GMT time of the program.
>Since QT fixed their secsTo bug, they're now taking into account the
>time zone. That means that when the GMT time of a show is after the
>daylight savings time transition, our number of seconds to the start of
>the program is off by an hour.
>
>That's why everyone's programs started breaking yesterday. If your time
>zone is 6 hours away from GMT, then you'll start having shows be off for
>an hour right around 8:00 (6 hours before 2:00).
>
>I'm not familiar enough with QT to offer a fix. Do they provide any
>DateTime functions that deal with GMT differently than local time?
>
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
More information about the mythtv-users
mailing list