2014-11-22, 16:37
Currently only System.Time and System.Date can be displayed in any format the skinner wishes.
System.Time(format)
Shows hours (hh), minutes (mm) or seconds (ss). When 12 hour clock is used (xx) will return AM/PM. Also supported: (hh:mm), (mm:ss), (hh:mm:ss), (hh:mm:ss).
System.Date(format)
Show current date using format, available markings: d (day of month 1-31), dd (day of month 01-31), ddd (short day of the week Mon-Sun), DDD (long day of the week Monday-Sunday), m (month 1-12), mm (month 01-12), mmm (short month name Jan-Dec), MMM (long month name January-December), yy (2-digit year), yyyy (4-digit year).
It would be great if other labels could be displayed in the same way so skins don't have to resort to using hundreds of variables.
ie
22 November 2014
Also time played and remaining for list items would also be good to have as well as the ability to format them.
ie
1 hour 42 minutes
System.Time(format)
Shows hours (hh), minutes (mm) or seconds (ss). When 12 hour clock is used (xx) will return AM/PM. Also supported: (hh:mm), (mm:ss), (hh:mm:ss), (hh:mm:ss).
System.Date(format)
Show current date using format, available markings: d (day of month 1-31), dd (day of month 01-31), ddd (short day of the week Mon-Sun), DDD (long day of the week Monday-Sunday), m (month 1-12), mm (month 01-12), mmm (short month name Jan-Dec), MMM (long month name January-December), yy (2-digit year), yyyy (4-digit year).
It would be great if other labels could be displayed in the same way so skins don't have to resort to using hundreds of variables.
ie
Code:
<label>$INFO[ListItem.Premiered(d MMM yyyy)]</label>
22 November 2014
Also time played and remaining for list items would also be good to have as well as the ability to format them.
ie
Code:
<label>$INFO[ListItem.TimePlayed(h)] hour $INFO[ListItem.TimePlayed(m)] minutes</label>
1 hour 42 minutes