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.