xmltv/grab/uk_bleb tv_grab_uk_bleb.in,1.20,1.21
Nick Morrott <[email protected]> Mon, 29 Jun 2015 16:24:30 +0000
| Newsgroups | gmane.comp.tv.xmltv.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xmltv/xmltv/grab/uk_bleb
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv3660/grab/uk_bleb
Modified Files:
tv_grab_uk_bleb.in
Log Message:
Update grabbers using deprecated Date::Manip TZ variable
Index: tv_grab_uk_bleb.in
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/uk_bleb/tv_grab_uk_bleb.in,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** tv_grab_uk_bleb.in 6 Sep 2010 15:30:02 -0000 1.20
--- tv_grab_uk_bleb.in 29 Jun 2015 16:24:28 -0000 1.21
***************
*** 126,129 ****
--- 126,137 ----
#use XMLTV::Supplement qw/GetSupplement/;
+ BEGIN {
+ if (int(Date::Manip::DateManipVersion) >= 6) {
+ Date::Manip::Date_Init("SetDate=now,UTC");
+ } else {
+ Date::Manip::Date_Init("TZ=UTC");
+ }
+ }
+
# Memoize one routine if possible.
eval { require Memoize };
***************
*** 145,149 ****
my $now = parse_date('now');
- Date_Init('TZ=UTC');
# Returns a hash mapping YYYMMDD to URL.
--- 153,156 ----
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o