*SPAM* RE: [mythtv-users] Timezones, wintertime & Timeoffset

Per Åge Sørvik peraage at leneogperaage.com
Mon Oct 27 12:22:45 EST 2003


Torbjörn Jansson wrote:

>I noticed the same problem with tv_grab_sn yesterday, I did the same as you
>(mysql delete, changing time offset).
>
>And after a lot of experimenting and testing I found that changing the line:
>my $BASE_TZ = "CET";
>In tv_grab_sn to use "UTC" for timezone fixed the problem.
>
>I don't know why the time offset in mythtv didn't work, it shoud have
>worked.
>Anyway, it's tv_grab_sn that returns timestamps with one hour wrong.
>  
>
That's what bugs me to. I ended up making a two line fix in 
mythfilldatabase.cpp for now.

>  
>
>>-----Original Message-----
>>From: mythtv-users-bounces at mythtv.org 
>>[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Per Åge Sørvik
>>Sent: Monday, October 27, 2003 10:43 AM
>>To: mythtv-users at mythtv.org
>>Subject: [mythtv-users] Timezones, wintertime & Timeoffset 
>>
>>Recently my country (Norway), switched to wintertime, 
>>adjusting the time 
>>1 hour back. And suddenly, all my listings was 1 hour wrong. Not 
>>entirely unexpected, so i did a 'delete from program', and ran 
>>mythfilldatabase again. Nope, same result. So i adjusted the 
>>TimeOffset 
>>setting from +0200 to +0100. Still same result. Hmm, +0500 ? Same 
>>result. NULL ? Same result. Clock has UTC set to false, and 
>>I'm running 
>>mythfilldatabase from a different machine than the database/backend.
>>
>>So, does anybody know if this setting is used for anything ? 
>>If so, what 
>>would be the correct procedure for using it ?
>>
>>    
>>
>
>  
>

-- 

peraage



More information about the mythtv-users mailing list