tips:weatherage
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| tips:weatherage [2015/03/06 01:50] – [Change Current Temp Color] missing a { chaco | tips:weatherage [2020/06/27 21:08] (current) – beachbumjk | ||
|---|---|---|---|
| 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.txt · Last modified: by beachbumjk
