xmltv/grab/sd_json tv_grab_sd_json,1.4,1.5

Robert Eden <[email protected]> Sun, 22 May 2016 15:50:30 +0000
Newsgroups gmane.comp.tv.xmltv.cvs
Message-ID <[email protected]>
Update of /cvsroot/xmltv/xmltv/grab/sd_json
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv22814

Modified Files:
	tv_grab_sd_json 
Log Message:
tv_grab_sd_json:  I don't think previously-shown ever has a time in the data source. Assuming midnight also assumes a timezone, leading to the wrong date.

Index: tv_grab_sd_json
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/sd_json/tv_grab_sd_json,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** tv_grab_sd_json	18 May 2016 03:12:35 -0000	1.4
--- tv_grab_sd_json	22 May 2016 15:50:28 -0000	1.5
***************
*** 1160,1164 ****
  		# store the wrong date.
  		$dt->set_time_zone('local');
! 		$previously_shown{'start'} = $dt->strftime('%Y%m%d%H%M%S %z');
  	}
  
--- 1160,1164 ----
  		# store the wrong date.
  		$dt->set_time_zone('local');
! 		$previously_shown{'start'} = $dt->strftime('%Y%m%d');
  	}
  


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j