Posts: 17,409
Joined: Aug 2007
Reputation:
586
Hitcher
Team-Kodi Member
Posts: 17,409
Is there a System.Has condition for the clock being 12 or 24 hour?
Thanks.
Posts: 165
Joined: Sep 2005
Reputation:
6
I just do the following...
<visible>substring(system.time,M,right)</visible>
which is visible when clock shows AM or PM
Posts: 17,409
Joined: Aug 2007
Reputation:
586
Hitcher
Team-Kodi Member
Posts: 17,409
Didn't think of that, thanks mate.
Posts: 32
Joined: Nov 2014
Reputation:
5
dag-
Junior Member
Posts: 32
This won't work in e.g. Japanese or Korean.
Posts: 3,532
Joined: Oct 2013
Reputation:
357
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.
Main: Lancool II Mesh - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 - EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB / Crucial P1 2TB / WD Blue 3D Nand 2TB
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Posts: 1,471
Joined: Jan 2018
Reputation:
263
2019-12-13, 22:24
(This post was last modified: 2019-12-13, 22:25 by mardukL.)
a shot in the blue and untested
does a visible condition for system.getbool(locale.use24hourclock)
not work
?