Localise ListItem.Premiered
mortstar
Senior Member Joined: Aug 2010 Reputation: 3 |
2012-04-24 01:47
Post: #1
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))
(This post was last modified: 2012-04-24 01:48 by mortstar.)
|
| find quote |
pecinko
Member+ Joined: Dec 2008 Reputation: 29 Location: Prague / Belgrade |
2012-04-24 11:06
Post: #2
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. |
| find quote |
Hitcher
Skilled Skinner Joined: Aug 2007 Reputation: 67 Location: Eastleigh, UK |
2012-04-28 15:49
Post: #3
I think you'll find they do in fact refer to different dates even though this is not always the case.
![]() |
| find quote |
Jezz_X
Team-XBMC Skinner Joined: Jun 2006 Reputation: 55 Location: Earth |
2012-04-29 05:08
Post: #4
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
Skins I have done.... ![]() And others in the past... Want to know what I'm working on currently? Check me out on Google+ |
| find quote |
Japaja
Fan Joined: May 2010 Reputation: 2 Location: Croatia |
2012-07-06 17:47
Post: #5
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?
|
| find quote |
Icerat
Senior Member Posts: 135 Joined: Nov 2010 Reputation: 1 |
2012-10-25 20:22
Post: #6
(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? Old newbie trying his hardest to get his head around skinning lol, expect loads of questions :-) It may be hard but the challenge of learning something new is fun :-) |
| find quote |

![[Image: watched-clearlogo.jpg]](http://trakt.tv/user/mortstar/widget/watched-clearlogo.jpg)
![[Image: sig_zps3af3b48e.jpg]](http://i620.photobucket.com/albums/tt289/Arcanthur/Celestium/sig_zps3af3b48e.jpg)

![[Image: skinsq.png]](http://img854.imageshack.us/img854/931/skinsq.png)
Search
Help