System.Has (clock 12 hour) ?
#1
Is there a System.Has condition for the clock being 12 or 24 hour?

Thanks.
Reply
#2
I just do the following...

<visible>substring(system.time,M,right)</visible>

which is visible when clock shows AM or PM
Currently working on Ellipsis 1.3 Updates. Update Requests Here.

Ellipsis for XBMC 1.2.1 Click here to download & for SVN details.

Twitter.com/TeamBlackbolt | Facebook.com/TeamBlackbolt1 | TeamBlackbolt.co.uk
Reply
#3
Didn't think of that, thanks mate.
Reply
#4
This won't work in e.g. Japanese or Korean.
Reply
#5
As far as I remember I've added a locale check to my helper script. It's been a while but it must be in the wiki.

If it's not in there I can add it.
Embuary | Skin | Helper | Info | Repo | GitHub
Reply
#6
a shot in the blue and untested

does a visible condition for system.getbool(locale.use24hourclock)

not work
?
Skins                                                                                        
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
System.Has (clock 12 hour) ?00