Figured out why my first suggestion did not work. A long time ago, if you
wanted the start time of an aggregation, you used $alltime.dateTime,
instead of $alltime.start. To keep backwards compatibility, I defined
dateTime=start, so the net effect is that

*$alltime.dateTime.min*

is equivalent to

*$alltime.start.min*

which is nonsense. Hence the error.

It may be time to retire the backwards compatibility shim.

-tk


On Fri, Feb 16, 2024 at 12:02 PM Tom Keffer <tkef...@gmail.com> wrote:

> Not sure why that doesn't work --- I'll have to investigate.
>
> But, the sure fire way to do this is with
>
> *$alltime.start*
>
> See the section *start, end, and dateTime
> <https://www.weewx.com/docs/5.0/custom/cheetah-generator/#start-end-and-datetime>*
> .
>
>
> On Fri, Feb 16, 2024 at 7:16 AM Meteo Oberwallis <sschnid...@bluewin.ch>
> wrote:
>
>> Hello Tom.
>>
>> It`s not working
>>
>> Feb 16 16:14:28 wetterstation wee_reports[11564] ERROR
>> weewx.cheetahgenerator: **** Ignoring template
>> /etc/weewx/skins/Belchertown/about/index.html.tmpl
>> Feb 16 16:14:28 wetterstation wee_reports[11564] ERROR
>> weewx.cheetahgenerator: **** Reason: cannot find 'mintime' while searching
>> for 'alltime.dateTime.mintime                              e'
>> Feb 16 16:14:28 wetterstation wee_reports[11564] ERROR
>> weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo'
>> at top of template
>> Feb 16 16:14:32 wetterstation wee_reports[11564] INFO
>> weewx.cheetahgenerator: Generated 11 files for report Belchertown in 13.56
>> seconds
>> Feb 16 16:14:32 wetterstation wee_reports[11564] INFO weewx.reportengine:
>> Copied 39 files to /var/www/html/weewx/user
>>
>>
>> Tom Keffer schrieb am Freitag, 16. Februar 2024 um 16:12:14 UTC+1:
>>
>>> On Fri, Feb 16, 2024 at 6:37 AM Meteo Oberwallis <sschn...@bluewin.ch>
>>> wrote:
>>>
>>>> Hello.
>>>> Thank you for the answers. The $alltime.outTemp.firsttime.raw works.
>>>> Now I have to format the whole thing so that I can get it into a “normal
>>>> date”. Can anyone else give me help?
>>>>
>>>
>>>
>>> *$alltime.dateTime.mintime*
>>>
>>>
>>>
>>> --
>> 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 weewx-user+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/930e7c83-39cd-4e8c-aa5d-07090aad8aedn%40googlegroups.com
>> <https://groups.google.com/d/msgid/weewx-user/930e7c83-39cd-4e8c-aa5d-07090aad8aedn%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zECp%2BJVBFapDb%2Bnh38%3DW%2BXP8Srt4x27rbk4Fi1ZEa%3DAw2w%40mail.gmail.com.

Reply via email to