tips:weatherage
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tips:weatherage [2015/02/13 18:52] – jt3 | tips:weatherage [2020/06/27 21:08] (current) – beachbumjk | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| ====Change Current Temp Color==== | ====Change Current Temp Color==== | ||
| - | | + | |
| ===== Explanation ===== | ===== Explanation ===== | ||
| Line 17: | Line 17: | ||
| 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.1423853531.txt.gz · Last modified: by jt3
