I was making a sport LCD watchface, but I need your help. I was trying to use the first two letters of the day of the week in uppercase, but I always end up with just three in capitals. So can you help me with that, please?
Hi @TunerPsyko48 Welcome to you . Check out what Peter @Peter has to say on a Previous Topic . The keyword is Mask .
I thank you for help because that answer made me do this:
- Make the day of the week go uppercase in the text options
- Duplicate the day of the week
- Place two squares that match the color of the theme, then reform them into two rectangles
- Mask the first group of the day, its duplicate of it, and rectangle, then do the same that’s bigger than them
- VIOLA!
I got the two letters of the day of the week!
Well done . It is difficult to know exactly what someone wants . If you get a chance Please post a shot Camera or Screen of your work as an Illustration of the solution .
([DAY_WEEK] == 1
? "Mo"
: [DAY_WEEK] == 2
? "Tu"
: [DAY_WEEK] == 3
? "We"
: [DAY_WEEK] == 4
? "Th"
: [DAY_WEEK] == 5
? "Fr"
: [DAY_WEEK] == 6
? "Sa"
: "Su")
Doesn’t start [DAY_WEEK] == 1 with Sunday?
Depends where you are on the planet . Some start thier week on Saturday .
@gravitymir . Try post your formulas Format Protected . That needs a lot of work to run it on WFS .
https://www.google.com/search?q=witch+coutries+use+first+day+of+week+monday
You can change order
Yes its true.
While the week may start on other day name, but I guess by the description the tag in WFS will always return 1 for Sunday and 7 for Monday. We are trying to figure what the day name is today, not what is its local order in the week.
You should be able to do this by making small images (.png) of “MO”, “TU”, “WE”…etc, etc of the font of your choice. Keep them white so you can change color easily in Theme Color Palette. Then simply add the images as bitmap font in bitmap font setting/add you .png’s to the appropriate slot/ add tag to your bitmap font in “text field” and you’re good to go.
Bitmap fonts allow for a lot of flexibility and creativity in how you want to display pretty much anything.