On Saturday, 5 October 2019 20:13:16 UTC+10, Pila wrote: > > I understand this is done simple way: enter current month as a filter to > database. But, it is wrong. Current easy is correct only if an user and > history for a particular month. > > Completely different issue is: show last 30 days. Both must be available. > Same for week and last 7 days, same for a day and last 27 hours. And year > or last 365 days. >
That would be easier than what I wanted, you only need to do it from now - 86400 * 30 -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/4421e66a-82fb-4be0-9019-c5f4518d87d1%40googlegroups.com.
