Formatted Output

Former Member
Former Member
hi there,

i have a problem with the formatted output for a given time on my whatchface:

view.setText(Lang.format("$1$:$2$:$3$", [hh.format("%.2d"), mm.format("%.2d"), ss.format("%.2d")]));

for example hh=12; mm=2; ss=5;

it works fine on the emulator (12:02:05 is correctly shown on screen), but it doesn't work "in real" at my fenix3 device (12:2:5 ist shown there!).

any idea what's wrong here?

thanks in advance.

stefan