it sounds like a useful generalisation if it covers cases such as official rain start time each day being 9am - rather than $bod, make it $hour or $offset or similar e.g. $span($day_delta=1, $hour=9) for previous day’s rain and $span($day_delta=0, $hour=9) for today’s rain. i guess it would imply a $span($week_delta=1, $day=2) and perhaps even $span($week_delta=2, $day=3, $hour=9)
> On 5 Sep 2020, at 12:20 am, Tom Keffer <tkef...@gmail.com> wrote: > > But, it makes me think: perhaps tag $span should have an argument that forces > the start time to be the beginning of the day...? Something like > > $span($day_delta=7, $bod=True) > > If 'bod' (aka, 'beginning of day') is True, then the start time is rounded to > the start of the day. > > Or, am I being too clever? -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/4CC59067-4F30-4C2E-A89F-A22CF98146CC%40gmail.com.