what do sqlite3 and bash return on say 29, 30 and 31 march when one tries 
to subtract 1 month?




On Thursday, 19 September 2019 10:51:04 UTC+3, Graham Eddy wrote:
>
> 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] <javascript:>> 
> 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] <javascript:>.
> 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/f4037900-e411-4861-ad5c-d36ca2617ed2%40googlegroups.com.

Reply via email to