Mercurial > personal > weather-server
diff weather_server/templates/location.html @ 47:d200755e0930 v0.1.5
go back to fahrenheit
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sat, 03 May 2025 20:12:28 -0400 |
parents | 4af79d69b12e |
children |
line wrap: on
line diff
--- a/weather_server/templates/location.html Tue Apr 01 16:31:00 2025 -0400 +++ b/weather_server/templates/location.html Sat May 03 20:12:28 2025 -0400 @@ -19,9 +19,9 @@ <span class="value"> <span class="pad"> </span> <span class="n"> - {{- last_reading.temp_k|int -}} + {{- last_reading.temp_f|int -}} </span> - <span class="unit">K</span> + <span class="unit" data-from-k="k * 1.8 - 459.67">°F</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_k|int -}} + {{- last_reading.dew_point_f|int -}} </span> - <span class="unit">K</span> + <span class="unit" data-from-k="k * 1.8 - 459.67">°F</span> </span> </p> <p id="timestamp">