Re: [mythtv-users] Incorrect listings after DST clock change (UK)

Neil Bird <[email protected]>
Newsgroups gmane.comp.tv.xmltv.general
Message-ID <[email protected]>
Around about 31/03/11 16:02, Robert Eden typed ...
>>      Date::Manip::Date_Init("TZ=UTC");
> Isn't that just a default and the grabber then overrides it with the desired TZ?

   It doesn't currently, & I'm not hopeful that it'd work;  from XMLTV/TZ.pm:

# Date::Manip seems to have difficulty with changes of timezone: if
# you parse some dates in a local timezone then do
# Date_Init('TZ=UTC'), the existing dates are not changed, so
# comparisons with later parsed dates (in UTC) will be wrong.  Script
# to reproduce the bug:
<snip>
sub parse_local_date( $ ) {



   I'll try it in the case of this grabber, though;  it might do the trick.

-- 
[neil@fnx ~]# rm -f .signature
[neil@fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil@fnx ~]# exit

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.