mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 03:27:06 -05:00 
			
		
		
		
	[vevo] Interpret date as UTC instead of local time
This commit is contained in:
		@@ -169,7 +169,7 @@ class VevoIE(InfoExtractor):
 | 
			
		||||
 | 
			
		||||
        timestamp_ms = int(self._search_regex(
 | 
			
		||||
            r'/Date\((\d+)\)/', video_info['launchDate'], 'launch date'))
 | 
			
		||||
        upload_date = datetime.datetime.fromtimestamp(timestamp_ms // 1000)
 | 
			
		||||
        upload_date = datetime.datetime.utcfromtimestamp(timestamp_ms // 1000)
 | 
			
		||||
        return {
 | 
			
		||||
            'id': video_id,
 | 
			
		||||
            'title': video_info['title'],
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user