don’t know enough about specifying timespans within weewx but you can do things like sqlite3> select datetime(dateTime, 'unixepoch’, ’localtime’, ’-1 months’) from archive; and bash$ date -v-1m ____________ Graham Eddy
> On 19 Sep 2019, at 4:37 pm, gjr80 <[email protected]> wrote: > > I had a similar issue with WeeWX-WD some years back, the Saratoga templates > needed to display some observation (temp or rain - can't remember) for the > same time past month. To be honest I can't remember what I had it return for > 'problem' dates, it certainly was not None or some other undefined value. > > That aside, whether you call it a bug or not I don't think we should have a > tag that when you give it an allowed value/parameter it aborts the template. > Perhaps return None so the template is still processed and then at least the > user has some value to hang his hat on. > > Gary > > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/6b4c212c-2225-4771-8bdd-92631109aff7%40googlegroups.com > > <https://groups.google.com/d/msgid/weewx-user/6b4c212c-2225-4771-8bdd-92631109aff7%40googlegroups.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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/48B02926-689A-47E0-B6FD-B544F182F48B%40gmail.com.
