Anomaly in max/min time

29 views
Skip to first unread message

Sven Täveby

unread,
Jul 19, 2021, 5:54:48 AM7/19/21
to weewx-user
Hi
I made a simple page to display current temperature and max/min temp outside.

Relevant code:
<div class="tempSummary">
      <p>max ute: $day.outTemp.max @$day.outTemp.maxtime.format("%-H:%I %p")</p>
      <p>min ute: $day.outTemp.min @$day.outTemp.mintime.format("%-H:%I %p")</p>
   </div>

Strange thing:
Time for max temp outdoors is nearly always x.x and time for min temp is nearly always y.y
Right now:
max outside: 30,4 C @ 11:11 min outside: 12,7C @ 05:05.
Happens far too often to be a coincidense.
Screenshots at https://drive.google.com/drive/folders/19nsiaEHekwrX-EW9Nb8e5QSiT8wNaDDc?usp=sharing
Live link to homepage: https://teff.se/v2/STandard/
(OK - I should move the probe to another location to get lower max values, and ok, I borrowed the layout from mr Crandard, and ok, it's in Swedish, but all that is beside the point)

I did not do any computing, just take the values from the database. 
Anyone else notice this behavior? Should I worry?  

Cheers
/Sven

Karen K

unread,
Jul 19, 2021, 6:05:35 AM7/19/21
to weewx-user
I wonder whether the format string is correct. I would expect something like "%H:%M". 

Sven Täveby

unread,
Jul 19, 2021, 6:53:13 AM7/19/21
to weewx-user
I stand corrected. Can we please forget this question.
/Sven

Reply all
Reply to author
Forward
0 new messages