Use tags for previous and next days

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?

Thank you

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.

3 Likes

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.

I don’t know if this will help.

You can do something similar if you don’t mind having a date as well.
For some reason there is no tag for day only (E).


*
*

3 Likes

Are you guys seeing the Tags . Not just the pre-set Date Gadgets .
.
.

text tags

.

1 Like

Unfortunately those tags cannot be used with “ICU date and time”.

There is always more than one way to solve a problem, that’s why I love this “talks”.
Exchanging ideas! There is always something new to learn.

2 Likes

This is seems like something new to me, maybe I will experiment on other PC later, dont want to overwrite this WFS version with new one yet

3 Likes

Yes if course it is one or the other . I prefer the other . Hangover from Facer .

2 Likes

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.

2 Likes