xmltv/lib XMLTV.pm.in,1.166,1.167

Stefan Becker <[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-serv364/lib

Modified Files:
	XMLTV.pm.in 
Log Message:
XMLTV.pm.in: replace "TZ" with "SetDate" for Date::Manip >= 6.00

This avoids the following warning with latest Date::Manip releases:

WARNING: the TZ Date::Manip config variable is deprecated
         and will be removed in March 2016.  Please use
         the SetDate or ForceDate config variables instead.


Index: XMLTV.pm.in
===================================================================
RCS file: /cvsroot/xmltv/xmltv/lib/XMLTV.pm.in,v
retrieving revision 1.166
retrieving revision 1.167
diff -C2 -d -r1.166 -r1.167
*** XMLTV.pm.in	21 Oct 2014 06:55:31 -0000	1.166
--- XMLTV.pm.in	26 Apr 2015 09:25:38 -0000	1.167
***************
*** 2124,2128 ****
  
  BEGIN {
!   Date::Manip::Date_Init("TZ=UTC");
  }
  
--- 2124,2132 ----
  
  BEGIN {
!     if (int(Date::Manip::DateManipVersion) >= 6) {
! 	Date::Manip::Date_Init("SetDate=now,UTC");
!     } else {
! 	Date::Manip::Date_Init("TZ=UTC");
!     }
  }
  


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
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.