Kodi Community Forum
Localise ListItem.Premiered - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Localise ListItem.Premiered (/showthread.php?tid=129772)



Localise ListItem.Premiered - mortstar - 2012-04-24

A little request...many skinners use ListItem.Premiered for air dates of episodes. This returns an unlocalised date format (e.g. 2012-04-24) as opposed to ListItem.Date which returns the same value but localised (e.g. 24/04/2012 (in UK))


RE: Localise ListItem.Premiered - pecinko - 2012-04-24

Agreed. I'll say it again - we need to clean up and merge different info labels that are pointing to the same thing.

I was using ListItem.Date but than found out that some of the plugins use .Premiered when they set content to episodes as it is used in Confluence.



RE: Localise ListItem.Premiered - Hitcher - 2012-04-28

I think you'll find they do in fact refer to different dates even though this is not always the case.


RE: Localise ListItem.Premiered - Jezz_X - 2012-04-29

I think and I do mean "think" Date is the date on the file system ie: the date it was created on your computer so has a local time stamp and Premiered is the date that it fetches from the internet websites when it scrapes the data and those websites and they commonly use 2012-04-24 format because its sort able in the correct way


RE: Localise ListItem.Premiered - Japaja - 2012-07-06

Cant that be converted just for display purposes? I mean if it's scraped from website in YYYY-MM-DD can it be at least shown as DD-MM-YYYY?


RE: Localise ListItem.Premiered - Icerat - 2012-10-25

(2012-07-06, 17:47)Japaja Wrote: Cant that be converted just for display purposes? I mean if it's scraped from website in YYYY-MM-DD can it be at least shown as DD-MM-YYYY?

Can this be done as I use to ListItem.Premiered to show first aired info, if so how?