From: SourceForge.net <no...@so...> - 2010-12-13 17:21:36
|
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 |