aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-03-10 13:12:57 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-03-10 13:12:57 +0100
commite45b31d9bd824b01142d52b0de0d6823a49b2af6 (patch)
tree9c24e36ca4dc397e39a3bfb8da96a4660d89606f /youtube_dl/extractor
parent5a25f396530d32ae66611c271b70b6e4c08ba602 (diff)
[vevo] Interpret date as UTC instead of local time
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/vevo.py2
1 files changed, 1 insertions, 1 deletions
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'],