Works fine for me: test 24h
2021-07-15, 12:30:00 2021-07-15, 12:31:00 2021-07-15, 12:32:00 2021-07-15, 12:33:00 2021-07-15, 12:34:00 2021-07-15, 12:36:00 2021-07-15, 12:37:00 2021-07-15, 12:38:00 2021-07-15, 12:39:00 2021-07-15, 12:40:00 2021-07-15, 12:41:00 2021-07-15, 12:42:00 2021-07-15, 12:43:00 Do you actually have any data in your archive within the last 24 hours? Gary On Monday, 26 July 2021 at 22:08:18 UTC+10 jterr...@gmail.com wrote: > Hi, > > I am trying to define a template that would list selected data for each > record for the last 24h > > Here is my test code, running on Weewx 4.5.1 : > > test 24h > > #for $_record in $span($hour_delta=24).records > $_record.dateTime.format("%Y-%m-%d"), $_record.dateTime.format("%H:%M:%S") > #end for > > In my output file, I have only the "test 24h" line, and no other data. I > tried also $span($day_delta=1).records without success. > > Do you have some suggestions ? > > Thanks > -- 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/397c0f00-c3c5-4de8-85a5-f10fb82e3b38n%40googlegroups.com.