Skip to content

Commit

Permalink
Update stillwatching popup to use localised date
Browse files Browse the repository at this point in the history
  • Loading branch information
MoojMidge authored Oct 9, 2023
1 parent f5a693c commit 7c57db1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/lib/stillwatching.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from platform import machine
from xbmcgui import WindowXMLDialog
from statichelper import from_unicode
from utils import localize_time
from utils import localize_date, localize_time

ACTION_PLAYER_STOP = 13
ACTION_NAV_BACK = 92
Expand Down Expand Up @@ -54,7 +54,7 @@ def set_info(self):
self.setProperty('season', str(self.item.get('season', '')))
self.setProperty('episode', str(self.item.get('episode', '')))
self.setProperty('seasonepisode', episode_info)
self.setProperty('year', str(self.item.get('firstaired', '')))
self.setProperty('year', localize_date(self.item.get('firstaired', '')))
self.setProperty('rating', rating)
self.setProperty('playcount', str(self.item.get('playcount', 0)))
self.setProperty('runtime', str(self.item.get('runtime', '')))
Expand Down

0 comments on commit 7c57db1

Please sign in to comment.