I’m trying to make a expression that I can get the next forecast days. For example: Today is Friday, then I want to show Saturday, Sunday, Monday… if today was monday, shows tuesday, wednesday… all dinamically
I use this expression
$#DOWB#==2?Mon:$#DOWB#==3?Tue:$#DOWB#==4?Wed:$#DOWB#==5?Thu:$#DOWB#==6?Fri:$#DOWB#==7?Sat:$#DOWB#==1?Sun:$
So I got two troubles:
First, the results “Tue”, “Thu” and “Sat”, simply doesn’t show.
Second and more serious, in some watches or in the app phone, this expression shows like a text
Someone have a suggestion that how can I solve it??
So many thanks since now
The expression begins and ends with a $, so you should have 7 seperate expressions:
$#DOWB#==2?Mon:$$#DOWB#==3?Tue:$$#DOWB#==4?Wed:$$#DOWB#==5?Thu:$$#DOWB#==6?Fri:$$#DOWB#==7?Sat:$$#DOWB#==1?Sun:$
However, I think the empty value for false does not work on all watches.
Probably safest (but more work) would be having 7 layers with opacity 0 or 100 based on the day you need.