Mercurial > personal > weather-server
diff weather_server/templates/location.html @ 41:4af79d69b12e v0.2.0
Use units better suited for science.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Tue, 01 Apr 2025 16:04:52 -0400 |
parents | e5a03d63b3d9 |
children |
line wrap: on
line diff
--- a/weather_server/templates/location.html Tue Apr 01 15:54:42 2025 -0400 +++ b/weather_server/templates/location.html Tue Apr 01 16:04:52 2025 -0400 @@ -19,9 +19,9 @@ <span class="value"> <span class="pad"> </span> <span class="n"> - {{- last_reading.temp_f|int -}} + {{- last_reading.temp_k|int -}} </span> - <span class="unit">°F</span> + <span class="unit">K</span> </span> </p> <p class="important" id="dewpoint"> @@ -29,9 +29,9 @@ <span class="value"> <span class="pad"> </span> <span class="n"> - {{- last_reading.dew_point_f|int -}} + {{- last_reading.dew_point_k|int -}} </span> - <span class="unit">°F</span> + <span class="unit">K</span> </span> </p> <p id="timestamp">