You can put hours in 12h format without leading zero.
You can put hours in 12h format with leading zero.
You can put hours in 24h format without leading zero.
You can put hours in 24h format with leading zero.
You can let the user select the format he wishes, but you can’t have leading zero with that option…
I could probably toggle the opacity of few layers depending the hour (>10) and AM/PM via a formula, but that would be quite overly complicated for something that should be built-in IMHO.
Thank you! I actually figured out a similar code - $#Db#<10?(0+0)#Db#:#Db#$ - to use in my new watchface but i will be using your version now (because it’s more clean). Many thanks!
I haven’t used Facer for a while, but I know that I had found one solution with a formula that add a leading zero when under 10 and it works with both 12h and 24h systems.
(but I forgot where I found it, so I can’t properly acknowledge the person that found it, but I didn’t create it).
$#Db#<10||#Db#>=24?(0)#DK#:#Db#$
It’s set to show 00 as midnight, I don’t know what you should change to use 24 as midnight.
Formulas using booelean logic are too complex for me, especially when the documentation think we already know what || and && means
By the way, I still think that we should have a #DB# tag with leading zero and the Facer documentations are still seriously lacking content for people who aren’t used to use formulas and stuff…