From: Philipp Hagemeister Date: Mon, 10 Mar 2014 12:12:57 +0000 (+0100) Subject: [vevo] Interpret date as UTC instead of local time X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=e45b31d9bd824b01142d52b0de0d6823a49b2af6;p=youtube-dl [vevo] Interpret date as UTC instead of local time --- diff --git a/youtube_dl/extractor/vevo.py b/youtube_dl/extractor/vevo.py index fa147a575..98a663496 100644 --- a/youtube_dl/extractor/vevo.py +++ b/youtube_dl/extractor/vevo.py @@ -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'],