Graphics.FONT_LARGE font missing colon in Vivoactive 4?

I just had a couple people claiming that their colon between the hours and minutes is missing. They are both using a vivoactive 4. The font that I was using for the colon was Graphics.FONT_LARGE. I'm using the 6.2.1 SDK. Any ideas? I believe it could be that their settings are set to the 24 hr setting. Any ideas?

  • I have a vivoactive 4s and did a quick test of drawing text with a colon using FONT_LARGE.  It worked.  This is a test watch face I have which is primarily meant for other things, which is why it's also rendering a bunch of other nonsense.  But you can see the colon.  The relevant line of code is:

    dc.drawText(50, 100, Graphics.FONT_LARGE, diff.toString() + "ms : " + populateProgress, Graphics.TEXT_JUSTIFY_LEFT);

    I'm not sure why 24hr setting would affect anything, but if you think I should change something, I can re-run the test.

  • Are you using the watch face template "with settings"?  (in VSC, "Monkey C: New Project").

    If you change the setting for "UseMilitaryFormat", there is no colon used.

    Here's the code snip for that:

            var timeFormat = "$1$:$2$";
            var clockTime = System.getClockTime();
            var hours = clockTime.hour;
            if (!System.getDeviceSettings().is24Hour) {
                if (hours > 12) {
                    hours = hours - 12;
                }
            } else {
                if (getApp().getProperty("UseMilitaryFormat")) {
                    timeFormat = "$1$$2$";
                    hours = hours.format("%02d");
                }
            }

    (line 10, timeFormat)

  • Thank you guys. I thought it was possibly a bug, but it was just that they didn't know how to change the settings on their watch.

  • Thank you guys. I thought it was possibly a bug, but it was just that they didn't know how to change the settings on their watch.