xmltv/grab/na_dd tv_grab_na_dd.in,1.92,1.93

Robert Eden <[email protected]> Sun, 13 Mar 2016 08:06:12 +0000
Newsgroups gmane.comp.tv.xmltv.cvs
Message-ID <[email protected]>
Update of /cvsroot/xmltv/xmltv/grab/na_dd
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv27199

Modified Files:
	tv_grab_na_dd.in 
Log Message:
Ticket 97 - allow negative offsets

Index: tv_grab_na_dd.in
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/na_dd/tv_grab_na_dd.in,v
retrieving revision 1.92
retrieving revision 1.93
diff -C2 -d -r1.92 -r1.93
*** tv_grab_na_dd.in	14 Dec 2015 04:53:24 -0000	1.92
--- tv_grab_na_dd.in	13 Mar 2016 08:06:09 -0000	1.93
***************
*** 624,628 ****
  # TMS bug causes errors around UTC midnight, so let's bump it by a second
  #
!     my $start = DateCalc("00:00:01","+ $opt_offset days") || die "ERROR: Can't compute <$opt_offset> days\n";
      my $stop  = DateCalc($start    ,"+ $opt_days   days") || die "ERROR: Can't compute <$opt_days> days\n";
  
--- 624,628 ----
  # TMS bug causes errors around UTC midnight, so let's bump it by a second
  #
!     my $start = DateCalc("00:00:01","$opt_offset days") || die "ERROR: Can't compute <$opt_offset> days\n";
      my $stop  = DateCalc($start    ,"+ $opt_days   days") || die "ERROR: Can't compute <$opt_days> days\n";
  


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140