xmltv/grab/fi/fi programme.pm,2.03,2.04

Stefan Becker <[email protected]>
Newsgroups gmane.comp.tv.xmltv.cvs
Message-ID <[email protected]>
Update of /cvsroot/xmltv/xmltv/grab/fi/fi
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv26363/grab/fi/fi

Modified Files:
	programme.pm 
Log Message:
- programme: increase time accuracy to seconds
- yle: improve title extraction
- yle: ignore programs where start == end time


Index: programme.pm
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/fi/fi/programme.pm,v
retrieving revision 2.03
retrieving revision 2.04
diff -C2 -d -r2.03 -r2.04
*** programme.pm	3 Jan 2014 19:11:36 -0000	2.03
--- programme.pm	15 Jun 2014 17:27:26 -0000	2.04
***************
*** 111,120 ****
    # Unfortunately strftime()'s %z is not portable...
    #
!   # return(strftime("%Y%m%d%H%M00 %z", localtime($time));
    #
    # ...so we have to roll our own:
    #
    my @time = localtime($time); #               is_dst
!   return(strftime("%Y%m%d%H%M00 +0", @time) . ($time[8] ? "3": "2") . "00");
  }
  
--- 111,120 ----
    # Unfortunately strftime()'s %z is not portable...
    #
!   # return(strftime("%Y%m%d%H%M%S %z", localtime($time));
    #
    # ...so we have to roll our own:
    #
    my @time = localtime($time); #               is_dst
!   return(strftime("%Y%m%d%H%M%S +0", @time) . ($time[8] ? "3": "2") . "00");
  }
  


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
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.