Hi all,
I saw a recent post of people discussing whether they preferred the time with a leading zero (09:10) or not (9:10). Since WFF doesn’t allow the leading zero tag for the hour (#DBZ#) anymore, I thought I would post my workaround. It is for hours only since the minute tag still works with the leading zero.
Layer setup
Layer 1: fake leading zero
Create a text layer with:
0
Opacity:
$#Db#<10?100:0$
Position this where the first digit should sit.
Layer 2: single-digit hour
Create another text layer with:
#Db#
Opacity:
$#Db#<10?100:0$
Position this where the second digit should sit.
So, for example, when the hour is 1 , Layer 1 shows 0 and Layer 2 shows 1 , making it appear as:
01
Layer 3: two-digit hour
Create a third text layer with:
#Db#
Opacity:
$#Db#>=10?100:0$
Position this where the full two-digit hour should sit.
This layer appears for hours like:
10
11
12
13
18
23
Final structure
Layer 1: 0 opacity $#Db#<10?100:0$
Layer 2: #Db# opacity $#Db#<10?100:0$
Layer 3: #Db# opacity $#Db#>=10?100:0$
Use the same font, size, colour, and vertical position for all three layers.