mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 01:36:11 +00:00
Fix up date added
This commit is contained in:
parent
552a9a30bd
commit
501adb6e3c
1 changed files with 3 additions and 0 deletions
|
@ -108,6 +108,7 @@ class WriteKodiDB():
|
|||
if MBitem.get("DateCreated") != None:
|
||||
dateadded = MBitem["DateCreated"].replace("T"," ")
|
||||
dateadded = dateadded.replace(".0000000Z","")
|
||||
dateadded = dateadded.split(".")[0]
|
||||
else:
|
||||
dateadded = None
|
||||
|
||||
|
@ -251,6 +252,7 @@ class WriteKodiDB():
|
|||
if MBitem.get("DateCreated") != None:
|
||||
dateadded = MBitem["DateCreated"].replace("T"," ")
|
||||
dateadded = dateadded.replace(".0000000Z","")
|
||||
dateadded = dateadded.split(".")[0]
|
||||
else:
|
||||
dateadded = None
|
||||
|
||||
|
@ -382,6 +384,7 @@ class WriteKodiDB():
|
|||
if MBitem.get("DateCreated") != None:
|
||||
dateadded = MBitem["DateCreated"].replace("T"," ")
|
||||
dateadded = dateadded.replace(".0000000Z","")
|
||||
dateadded = dateadded.split(".")[0]
|
||||
else:
|
||||
dateadded = None
|
||||
|
||||
|
|
Loading…
Reference in a new issue