Good idea. Wouid you like to submit a PR?

On Sat, Nov 5, 2022 at 12:35 AM Karen K <[email protected]> wrote:

> Months are not always of the same length. Days vary in length when
> daylight savings time starts or ends. How about a length property in
> TimespanBinder?
>
>     *@property*
>     *def* length(self):
>         val =
> weewx.units.ValueTuple(self.timespan.stop-self.timespan.start, 'second',
> 'group_deltatime')
>         *return* weewx.units.ValueHelper(val, self.context,
> self.formatter, self.converter)
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-development/e2899330-5750-4840-9211-c9e8a3b169bfn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-development/e2899330-5750-4840-9211-c9e8a3b169bfn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CAPq0zEBkbJ4tKvdV%3D%3D478RKtOd8x3HojAwP39NJDJQrMuNNA5A%40mail.gmail.com.

Reply via email to