tom and gary,

do you know if there is a unit test for the $day tag (or any other tag, for 
that matter)?  i'm not finding anything.

also, this looks suspect, but perhaps not relevant to this problem.  in 
tags.py i see this:


    def hour(self, data_binding=None, hours_ago=0):

        return 
TimespanBinder(weeutil.weeutil.archiveHoursAgoSpan(self.report_time, 
hours_ago=hours_ago),

                              self.db_lookup, data_binding=data_binding,

                              context='day', formatter=self.formatter, 
converter=self.converter,

                              **self.option_dict)


should the context be 'hour' not 'day'?

m

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

Reply via email to