tips:weatherage
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| tips:weatherage [2015/02/13 17:17] – created jt3 | tips:weatherage [2020/06/27 21:08] (current) – beachbumjk | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Indicate the Age of the Last Weather Update ====== | ====== Indicate the Age of the Last Weather Update ====== | ||
| - | Having the current weather conditions show on your watch is nice, but how do you know that they' | + | Having the current weather conditions show on your watch is nice, but how do you know that they' |
| ===== Example ===== | ===== Example ===== | ||
| ====Change Current Temp Color==== | ====Change Current Temp Color==== | ||
| - | | + | |
| ===== Explanation ===== | ===== Explanation ===== | ||
| - | The obvious way to display the last update time is to simply use the {wlu} tag, but that takes up a lot of real estate, and doesn' | + | The obvious way to display the last update time is to simply use the {wlu} tag, but that takes up a lot of real estate, and doesn' |
| - | Simply change the tint value of that item with the formula above. | + | Simply change the tint value of that item with the formula above. |
| This is best used with a tap action to update weather, since it can take a few seconds to actually update, and the color change will indicate when that has happened. | This is best used with a tap action to update weather, since it can take a few seconds to actually update, and the color change will indicate when that has happened. | ||
| - | Now, there is a slight problem with this formula, since it can't cross midnight. | + | Now, there is a slight problem with this formula, since it can't cross midnight. |
| + | ===== Additional ===== | ||
| + | The above works well when the Settings: | ||
| + | |||
| + | ===== Example 2 ===== | ||
| + | |||
| + | ====Change Current Temp Color 2 ==== | ||
| + | | ||
| + | |||
| + | ===== Explanation ===== | ||
| + | {dh24} is relative to the Time Override setting and displays as 12 or 24 based on that setting. {dtp} represents the day as a percentage of 24 hours (% 24 hours) regardless of that setting and can therefore be used in determining if past midday. Then by either leaving {dh24} as is if in 24 hour mode or offsetting it by 12 if in 12 hour mode the elapsed minutes are correctly obtained. | ||
tips/weatherage.1423847872.txt.gz · Last modified: by jt3
