Your example did what I need, I just hadn't put it in properly; now working. 
Thank you.

> On 17 Jan, 2025, at 14:20, Tom Keffer <tkef...@gmail.com> wrote:
> 
> Almost everything in WeeWX is in seconds. The only exception that I can think 
> of right now is the archive interval stored in the database, which is in 
> minutes.
> 
> -tk
> 
> 
> On Fri, Jan 17, 2025 at 10:53 AM weather list <weatherlists2...@gmail.com 
> <mailto:weatherlists2...@gmail.com>> wrote:
> Actually, I'd like to say "Today is xx minutes longer/shorter than yesterday."
> 
> Is $sun_visible_change.raw expressed in minutes or seconds?
> 
>> On 17 Jan, 2025, at 09:19, Tom Keffer <tkef...@gmail.com 
>> <mailto:tkef...@gmail.com>> wrote:
>> 
> 
>> The standard "Seasons" skin already includes that. It's implemented using 
>> the following, which you can put in your skin. You need pyephem for it to 
>> work.
>> 
>>   ## For the change in daylight, pick a string to indicate whether it is 
>> more or
>>   ## less than yesterday:
>>   #set $sun_visible_change = $almanac.sun.visible_change
>>   #if $sun_visible_change.raw < 0
>>     #set $change_str = $gettext("less than yesterday")
>>   #else
>>     #set $change_str = $gettext("more than yesterday")
>>   #end if
>> #end if
>> This is then used in a table:
>> <tr>
>>   <td class="label">$gettext("Total daylight")</td>
>>   <td 
>> class="data">$almanac.sun.visible.long_form<br/>$sun_visible_change.long_form
>>  $change_str</td>
>> </tr>
>> 
>> 
>> On Fri, Jan 17, 2025 at 5:24 AM Dan Hinckley <d...@suiattle.org 
>> <mailto:d...@suiattle.org>> wrote:
>> Before I try to cook it up myself, has anyone developed a way to show how 
>> much longer/shorter today is than the previous day?
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to weewx-user+unsubscr...@googlegroups.com 
>> <mailto:weewx-user%2bunsubscr...@googlegroups.com>.
>> To view this discussion visit 
>> https://groups.google.com/d/msgid/weewx-user/D3805510-28BD-4F30-8837-52699E65F64B%40suiattle.org
>>  
>> <https://groups.google.com/d/msgid/weewx-user/D3805510-28BD-4F30-8837-52699E65F64B%40suiattle.org>.
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to weewx-user+unsubscr...@googlegroups.com 
>> <mailto:weewx-user+unsubscr...@googlegroups.com>.
> 
>> To view this discussion visit 
>> https://groups.google.com/d/msgid/weewx-user/CAPq0zED0%2BY7cA3drzuP8U%2BpzVCfPuh7EGoqR-FGi1VF6AK9ycQ%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zED0%2BY7cA3drzuP8U%2BpzVCfPuh7EGoqR-FGi1VF6AK9ycQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to weewx-user+unsubscr...@googlegroups.com 
> <mailto:weewx-user+unsubscr...@googlegroups.com>.
> To view this discussion visit 
> https://groups.google.com/d/msgid/weewx-user/C5465CEE-B94F-4848-ABD7-39E4A509CD03%40gmail.com
>  
> <https://groups.google.com/d/msgid/weewx-user/C5465CEE-B94F-4848-ABD7-39E4A509CD03%40gmail.com?utm_medium=email&utm_source=footer>.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to weewx-user+unsubscr...@googlegroups.com 
> <mailto:weewx-user+unsubscr...@googlegroups.com>.
> To view this discussion visit 
> https://groups.google.com/d/msgid/weewx-user/CAPq0zEDVW_gAK8XeHSdUp3u3bFwbjMiWiA%2B0V%3D280aBpuxbfbA%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEDVW_gAK8XeHSdUp3u3bFwbjMiWiA%2B0V%3D280aBpuxbfbA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/B109CF3F-9F31-4F8B-BFD0-5717BC69B670%40gmail.com.

Reply via email to