From e45b31d9bd824b01142d52b0de0d6823a49b2af6 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Mon, 10 Mar 2014 13:12:57 +0100 Subject: [PATCH] [vevo] Interpret date as UTC instead of local time --- youtube_dl/extractor/vevo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ def _real_extract(self, url): 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'],