I am trying to display yesterday, today, and tomorrow short form (e.g., Sun Mon Tue). I know I could use a variety of bitmap fonts to accomplish this, but it also seems like it should be relatively easy to accomplish with tags. However, every expression I have tried (e.g., ([DAY_WEEK_S]-1)) just displays the text formula. I am knew to tag expressions, so maybe I’m doing this wrong.
Is there an easy way to have text for t-1, t, and t+1?
It is not possible to get the automatically localized text for yesterday and tomorrow. As WFS works, we would need specific tags or function for that. (edit: maybe it can be done now with the new weather forecast tags)
It is possible to make formula, that creates texts related to such week days, however it would return the texts in a fixed language.
For example for English you can add 3 texts like this ([DAY_WEEK]==1?"Sun":"")([DAY_WEEK]==2?"Mon":"")([DAY_WEEK]==3?"Tue":"")([DAY_WEEK]==4?"Wed":"")([DAY_WEEK]==7?"Sat":"")([DAY_WEEK]==6?"Fri":"")([DAY_WEEK]==5?"Thu":"") and shift the numbers for the two other than today.
Thank you! That is very helpful, and also unfortunate that WFS cannot simply adjust the day. Hard coding it like in your example would work fine for me, but would be a problem for anyone who preferred a different language.
Solutions are different and effects/results are different.
No better or worse, it all depends what are we trying to get as a result, what is the idea of a watchface.
It’s nice to have more ways to do something.