<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
On Sun, 2003-11-02 at 00:44, Stefan Frank wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>&gt;
&gt; I had a look at the the piece of code that is responsible for the
&gt; timeoffset calculation and the
&gt; timeoffset is somehow calculated as 60 for my setup, instead of 0. I
&gt; don't know why it does that, though. I suspect some obscure system
&gt; setting, in true Unix fashion tucked deep deep down somewhere...

Is that with TimeOffset == Auto or +0100 ?</I></FONT></PRE>
</BLOCKQUOTE>
<BR>
I added some debug statements: this is the output with different values chosen through the mythsetup frontend. <BR>
<BR>
None: localTimezoneOffset: 60<BR>
Auto: localTimezoneOffset: 60<BR>
+0100 localTimezoneOffset: 60<BR>
-0100 localTimezoneOffset: -60<BR>
<BR>
Here I updated the database directly: <BR>
<BR>
Updated with database text: +0000<BR>
+0000 localTimezoneOffset: 0<BR>
<BR>
This last setting does the trick - now my listings are on time again. Maybe this is a quick fix,<BR>
to insert +0000 as the &quot;None&quot; value, instead of an empty string ?<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>'Ignoring invalid TimeOffset' is only printed if your TimeOffset setting
is not in the format '+0100' or '-1030', so that seems to be wrong.
Note that it's NOT printed for TimeOffset == &quot;None&quot;.</I></FONT></PRE>
</BLOCKQUOTE>
<BR>
You're right. <BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>
Have a look at the TV listings xml file. Probably the times/timezone is
off by one hour, but b/c of the invalid TimeOffset mythfilldatabase
doesn't do anything.</I></FONT></PRE>
</BLOCKQUOTE>
<BR>
&nbsp; &lt;programme start=&quot;20031102125800 +0100&quot; stop=&quot;20031102130000 +0100&quot; channel=&quot;1.tvgids.nl&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp; &lt;title lang=&quot;nl&quot;&gt;Wilde Ganzen&lt;/title&gt;<BR>
&nbsp;&nbsp;&nbsp; &lt;url&gt;<A HREF="http://www.tvgids.nl/detail.php?pid=848095&amp;tab=1<">http://www.tvgids.nl/detail.php?pid=848095&amp;amp;tab=1&lt;</A>/url&gt;<BR>
&nbsp; &lt;/programme&gt;<BR>
<BR>
If I look in the debugger at my timezone, this is the output:<BR>
$3 = {tm_sec = 34, tm_min = 2, tm_hour = 13, tm_mday = 2, tm_mon = 10, tm_year = 103, tm_wday = 0, tm_yday = 305, tm_isdst = 0,&nbsp;&nbsp; tm_gmtoff = 3600, tm_zone = 0x8049780 &quot;CET&quot;}<BR>
<BR>
I don't know why the Auto setting does not work correctly, it should. +0100 and tm_gmtoff = 3600 both represent GMT+1.<BR>
<BR>
Bye,<BR>
<BR>
Erik<BR>
<BR>
<BR>
<BR>
</BODY>
</HTML>