On Wed, Sep 18, 2019 at 11:37 PM gjr80 <[email protected]> wrote:

> 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.
>

We don't. The tag that caused the error was user-supplied.

>From Graham's experiments, it looks like sqlite and bash simply subtract
four weeks. The span tag can already do that, so if that's what the user
wants, s/he can just specify it.

As for Python, it doesn't even offer month arithmetic (at least, through
class datetime.timedelta), probably for the reasons we have discovered. I'm
thinking we should do the same.

-tk

-- 
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/CAPq0zECPc%2BZtLgJyr6jRAgrA2m8kpY-wUVZ5gGkNP%2BH7iE4jtw%40mail.gmail.com.

Reply via email to