2023-12-18, 23:52
(2023-12-18, 22:23)Hitcher Wrote: Looks like I'll have to use variables based onNext_Aired.Short
andNext_Aired.Long
.
For the service you can use the custom formatting string:
Code:
Skin.SetString(TMDbHelper.Date.Format,%d %B %Y)
Code:
$INFO[Container(99950).ListItem.Property(last_aired.custom)]
$INFO[Container(99950).ListItem.Property(next_aired.custom)]
That will give 0 padded version e.g. "09 September 2023"
Obviously a bit annoying since it doesn't use the user's long date settings but you could offer them the option to set it themselves and use a $VAR to fallback to standard long date if they haven't.
Note that the custom format defaults to "%d %b %Y" (which is "09 Sep 2023") if the setting string is empty -- so make sure to check against the setting string rather than the output property.
I thought I'd documented this in the wiki, but it looks like I haven't (or at least I can't remember where I put it).
EDIT: Okay, I did document it! I wasn't going mad! Just found it:
https://github.com/jurialmunkey/plugin.v...properties