From 8ac0b799862ec323d96fd427434b8f01d4886f76 Mon Sep 17 00:00:00 2001 From: echel0n Date: Tue, 3 Jun 2014 21:14:38 -0700 Subject: [PATCH] Fixes originally aired dates and times issues. Please perform a mass update of all shows after updating to this new commit to have changes take affect. --- lib/tvdb_api/tvdb_api.py | 2 +- lib/tvrage_api/tvrage_api.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tvdb_api/tvdb_api.py b/lib/tvdb_api/tvdb_api.py index 3ac42736..5138c4d8 100644 --- a/lib/tvdb_api/tvdb_api.py +++ b/lib/tvdb_api/tvdb_api.py @@ -584,7 +584,7 @@ class Tvdb: if key == 'airs_time': value = parse(value).time() - value = value.strftime("%I:%M") + value = value.strftime("%I:%M %p") except: pass diff --git a/lib/tvrage_api/tvrage_api.py b/lib/tvrage_api/tvrage_api.py index 69031bd5..5b4f2b90 100644 --- a/lib/tvrage_api/tvrage_api.py +++ b/lib/tvrage_api/tvrage_api.py @@ -456,7 +456,7 @@ class TVRage: if key == 'airs_time': value = parse(value).time() - value = value.strftime("%I:%M") + value = value.strftime("%I:%M %p") except: pass