[mythtv-users] Listings off by one hour

Erik Dooper erik at dooper.com
Sat Nov 1 17:52:42 EST 2003


OK,

this is driving me nuts. Ever since we went on daylight savings (I live
in Holland) last weekend, my listings are off by one hour. I've checked
my setup over and over, and I 
can't find what's wrong. 
My backend server is in the same timezone (Europe/Amsterdam) as the site
where the listings come from, and the clock is synced by cron with a ntp
server every night. A 'date' gives the correct time. My hardware clock
is running on time as well.

I've set TimeOffset tot 'None' through mythsetup. If I set it to
anything else, it's calculated correctly. For example, if I set
TimeOffset to +0200, everything is off by two hours, but None and Auto
cause it to be off by one hour.

I had a look at the the piece of code that is responsible for the
timeoffset calculation and the
timeoffset is somehow calculated as 60 for my setup, instead of 0. I
don't know why it does that, though. I suspect some obscure system
setting, in true Unix fashion tucked deep deep down somewhere...

Does somebody have a clue where to look next ?

Thanks,

Erik


PS. I was very confused by the statement 'Ignoring invalid Timeoffset'.
I could not figure out how that could be invalid since one chooses it
from a dropdown box. Until I saw in the source that, if you set
TimeOffset to None, it is made invalid on purpose, causing this
confusing message to be printed. What's the idea behind this ? 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20031101/28f440ec/attachment.html


More information about the mythtv-users mailing list