xmltv/lib XMLTV.pm.in,1.157,1.158

Geoff <[email protected]>
Newsgroups gmane.comp.tv.xmltv.cvs
Message-ID <[email protected]>
Update of /cvsroot/xmltv/xmltv/lib
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv24796

Modified Files:
	XMLTV.pm.in 
Log Message:
(minor) fix bug when -ve --offset given

Index: XMLTV.pm.in
===================================================================
RCS file: /cvsroot/xmltv/xmltv/lib/XMLTV.pm.in,v
retrieving revision 1.157
retrieving revision 1.158
diff -C2 -d -r1.157 -r1.158
*** XMLTV.pm.in	23 Dec 2013 04:42:10 -0000	1.157
--- XMLTV.pm.in	21 Jan 2014 15:13:14 -0000	1.158
***************
*** 2180,2184 ****
  
        $self->{maxtime} = UnixDate( 
!           DateCalc("today", "+" . $offset+$days . " days"), 	 
            "%Y%m%d" ) . $cutoff;
        t "using maxtime $self->{maxtime}";
--- 2180,2184 ----
  
        $self->{maxtime} = UnixDate( 
!           DateCalc("today", "+" . ($offset+$days) . " days"), 	 
            "%Y%m%d" ) . $cutoff;
        t "using maxtime $self->{maxtime}";


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
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.