Fix Recently Added
Plex time was not converted to Kodi time
This commit is contained in:
parent
9b99028fb1
commit
53c07d4b50
2 changed files with 4 additions and 3 deletions
|
@ -1513,7 +1513,7 @@ class API():
|
|||
"""
|
||||
Returns the date when this library item was created
|
||||
"""
|
||||
return utils.DateToKodi(self.item.attrib.get('addedAt', None))
|
||||
return utils.DateToKodi(self.item.attrib.get('addedAt'))
|
||||
|
||||
def getUserData(self):
|
||||
"""
|
||||
|
|
|
@ -7,7 +7,8 @@ import inspect
|
|||
import json
|
||||
import pstats
|
||||
import sqlite3
|
||||
from datetime import datetime, time, timedelta
|
||||
from datetime import datetime, timedelta
|
||||
import time
|
||||
import unicodedata
|
||||
import xml.etree.ElementTree as etree
|
||||
from functools import wraps
|
||||
|
@ -545,7 +546,7 @@ def startProfiling():
|
|||
return pr
|
||||
|
||||
def stopProfiling(pr, profileName):
|
||||
|
||||
from datetime import time
|
||||
pr.disable()
|
||||
ps = pstats.Stats(pr)
|
||||
|
||||
|
|
Loading…
Reference in a new issue