Discussion:
[Xmltv-devel] [ xmltv-Bugs-3136503 ] Normal time?
SourceForge.net
2010-12-13 12:58:57 UTC
Permalink
Bugs item #3136503, was opened at 2010-12-13 12:58
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3136503&group_id=39046

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tv_grab_fi
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Ville Ahonen (va1210)
Summary: Normal time?

Initial Comment:
There is a problem with the new windows client with tv_grab_fi listing.

My GP-PVR doesn't work with line:
<programme start="20101212001000 Normaaliaika" stop="20101212040000 Normaaliaika" channel="1.telkku.com">
"normaaliaika" is finnish, it's normal time in english.

GP-PVR would work if the line was:

<programme start="20101212001000 +0200" stop="20101212040000 +0200" channel="1.telkku.com">

Previous version of xmltv used format +0200 and everything was fine.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3136503&group_id=39046
SourceForge.net
2010-12-13 17:21:36 UTC
Permalink
Bugs item #3136503, was opened at 2010-12-13 14:58
Message generated for change (Settings changed) made by stefanb2
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3136503&group_id=39046

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tv_grab_fi
Group: None
Status: Open
Resolution: Invalid
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Ville Ahonen (va1210)
Summary: Normal time?

Initial Comment:
There is a problem with the new windows client with tv_grab_fi listing.

My GP-PVR doesn't work with line:
<programme start="20101212001000 Normaaliaika" stop="20101212040000 Normaaliaika" channel="1.telkku.com">
"normaaliaika" is finnish, it's normal time in english.

GP-PVR would work if the line was:

<programme start="20101212001000 +0200" stop="20101212040000 +0200" channel="1.telkku.com">

Previous version of xmltv used format +0200 and everything was fine.

----------------------------------------------------------------------
Comment By: Stefan Becker (stefanb2)
Date: 2010-12-13 19:21

Message:
That means that POSIX::strftime() is broken on your system. Here is the
code tv_grab_fi uses to generate the time stamps for XMLTV:

strftime("%Y%m%d%H%M00 %z", localtime($time))

quote from "man 3 strftime":

%z The +hhmm or -hhmm numeric timezone (that is, the hour
and
minute offset from UTC). (SU)

It seems to me that on your system "%z" is interpreted as "%Z":

%Z The timezone or name or abbreviation.

I did a google search for "Windows strftime %z" and found this:

<http://msdn.microsoft.com/en-us/library/fe06s4ak%28v=vs.80%29.aspx>
"%z, %Z
Either the time-zone name or time zone abbreviation, depending on
registry settings; no characters if time zone is unknown"

<http://social.msdn.microsoft.com/Forums/en/vclanguage/thread/a87e1d25-fb71-4fe0-ae9c-a9578c9753eb>
"check this key :
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
and exactly this value : StandardName"

My guess that this is the registry key that controls %z?

<http://www.perlmonks.org/?node_id=434177>
Some Perl code you might want to checkout strftime() on your system.

Marking bug as "invalid" for the time being.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3136503&group_id=39046
SourceForge.net
2010-12-13 17:25:26 UTC
Permalink
Bugs item #3136503, was opened at 2010-12-13 14:58
Message generated for change (Comment added) made by stefanb2
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3136503&group_id=39046

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tv_grab_fi
Group: None
Status: Open
Resolution: Invalid
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Ville Ahonen (va1210)
Summary: Normal time?

Initial Comment:
There is a problem with the new windows client with tv_grab_fi listing.

My GP-PVR doesn't work with line:
<programme start="20101212001000 Normaaliaika" stop="20101212040000 Normaaliaika" channel="1.telkku.com">
"normaaliaika" is finnish, it's normal time in english.

GP-PVR would work if the line was:

<programme start="20101212001000 +0200" stop="20101212040000 +0200" channel="1.telkku.com">

Previous version of xmltv used format +0200 and everything was fine.

----------------------------------------------------------------------
Comment By: Stefan Becker (stefanb2)
Date: 2010-12-13 19:25

Message:
Missed this one:
<http://www.nntp.perl.org/group/perl.perl5.porters/2004/04/msg91062.html>

That might point to a possible/portable solution.

----------------------------------------------------------------------

Comment By: Stefan Becker (stefanb2)
Date: 2010-12-13 19:21

Message:
That means that POSIX::strftime() is broken on your system. Here is the
code tv_grab_fi uses to generate the time stamps for XMLTV:

strftime("%Y%m%d%H%M00 %z", localtime($time))

quote from "man 3 strftime":

%z The +hhmm or -hhmm numeric timezone (that is, the hour
and
minute offset from UTC). (SU)

It seems to me that on your system "%z" is interpreted as "%Z":

%Z The timezone or name or abbreviation.

I did a google search for "Windows strftime %z" and found this:

<http://msdn.microsoft.com/en-us/library/fe06s4ak%28v=vs.80%29.aspx>
"%z, %Z
Either the time-zone name or time zone abbreviation, depending on
registry settings; no characters if time zone is unknown"

<http://social.msdn.microsoft.com/Forums/en/vclanguage/thread/a87e1d25-fb71-4fe0-ae9c-a9578c9753eb>
"check this key :
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
and exactly this value : StandardName"

My guess that this is the registry key that controls %z?

<http://www.perlmonks.org/?node_id=434177>
Some Perl code you might want to checkout strftime() on your system.

Marking bug as "invalid" for the time being.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3136503&group_id=39046
SourceForge.net
2010-12-13 19:15:04 UTC
Permalink
Bugs item #3136503, was opened at 2010-12-13 14:58
Message generated for change (Comment added) made by stefanb2
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3136503&group_id=39046

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tv_grab_fi
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Stefan Becker (stefanb2)
Summary: Normal time?

Initial Comment:
There is a problem with the new windows client with tv_grab_fi listing.

My GP-PVR doesn't work with line:
<programme start="20101212001000 Normaaliaika" stop="20101212040000 Normaaliaika" channel="1.telkku.com">
"normaaliaika" is finnish, it's normal time in english.

GP-PVR would work if the line was:

<programme start="20101212001000 +0200" stop="20101212040000 +0200" channel="1.telkku.com">

Previous version of xmltv used format +0200 and everything was fine.

----------------------------------------------------------------------
Comment By: Stefan Becker (stefanb2)
Date: 2010-12-13 21:15

Message:
Implemented a workaround in version 1.64.

----------------------------------------------------------------------

Comment By: Stefan Becker (stefanb2)
Date: 2010-12-13 19:25

Message:
Missed this one:
<http://www.nntp.perl.org/group/perl.perl5.porters/2004/04/msg91062.html>

That might point to a possible/portable solution.

----------------------------------------------------------------------

Comment By: Stefan Becker (stefanb2)
Date: 2010-12-13 19:21

Message:
That means that POSIX::strftime() is broken on your system. Here is the
code tv_grab_fi uses to generate the time stamps for XMLTV:

strftime("%Y%m%d%H%M00 %z", localtime($time))

quote from "man 3 strftime":

%z The +hhmm or -hhmm numeric timezone (that is, the hour
and
minute offset from UTC). (SU)

It seems to me that on your system "%z" is interpreted as "%Z":

%Z The timezone or name or abbreviation.

I did a google search for "Windows strftime %z" and found this:

<http://msdn.microsoft.com/en-us/library/fe06s4ak%28v=vs.80%29.aspx>
"%z, %Z
Either the time-zone name or time zone abbreviation, depending on
registry settings; no characters if time zone is unknown"

<http://social.msdn.microsoft.com/Forums/en/vclanguage/thread/a87e1d25-fb71-4fe0-ae9c-a9578c9753eb>
"check this key :
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
and exactly this value : StandardName"

My guess that this is the registry key that controls %z?

<http://www.perlmonks.org/?node_id=434177>
Some Perl code you might want to checkout strftime() on your system.

Marking bug as "invalid" for the time being.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3136503&group_id=39046
Loading...