Do you have a [[SummaryByDay]] subsection in your skin.conf?

The variables $SummaryByXXX are filled only if there is something to be
generated.

-tk

On Wed, Mar 22, 2017 at 4:35 PM, Tony Colley <[email protected]> wrote:

> I have the following in an html template:
>
>         #if $varExists('SummaryByYear')
>         Years: #echo len($SummaryByYear)
>         #else
>         SummaryByYear does not exist
>         #end if
>         <br />
>         #if $varExists('SummaryByMonth')
>         Months: #echo len($SummaryByMonth)
>         #else
>         SummaryByMonth does not exist
>         #end if
>         <br />
>         #if $varExists('SummaryByDay')
>         Days: #echo len($SummaryByDay)
>         #else
>         SummaryByDay does not exist
>         #end if
>
> The resulting output is:
> Years: 13
> Months: 136
> Days: 0
>
> I have 3.7.0 installed using the deb package.
>
> Is there something incomplete in the (new) implementation of SummaryByDay?
>
> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to