2023-12-18, 04:19
(2023-12-17, 21:18)Hitcher Wrote: Got a weird issue using$INFO[Container(99950).ListItem.Property(Next_Aired.Long)]
or$INFO[Container(99950).ListItem.Property(Last_Aired.Long)]
on my Shield TV but not on my Windows PC.
As you can the day date shows-d
on the Shield TV for some reason.
Yep, this is a frustrating issue. The strftime directives with hyphens like "%-d" are platform specific as mentioned here: https://strftime.org/
The issue is that Kodi hardcodes a "fix" based upon the assumption that Windows is the only platform that uses a different directive ("%#d" in Win).
https://github.com/xbmc/xbmc/blob/ca903e...#L240-L245
Kodi assumes that everything else supports the Linux/Unix style "%-d". However, clearly Android doesn't (or at least not correctly) despite being Linux based.
TMDbHelper is acting correctly according to the information it is getting about the region datelong formatting string - it's just either the string is wrong for the platform, or the platform is not supporting the directive correctly. Not 100% sure if it's something that needs to be fixed in Android or Kodi as I don't use Android myself and I can't really find any Android specific strftime documentation.