From 66206388932be17a21c89a11300d3b3924a7716e Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Fri, 9 Feb 2024 13:25:00 -0600 Subject: [PATCH] make wind line more concise --- tempest.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tempest.html b/tempest.html index 36efc37..8db2336 100644 --- a/tempest.html +++ b/tempest.html @@ -39,7 +39,7 @@ conditions = (res.conditions).toLowerCase(); temp = (res.air_temperature)+ "°f ("+(((res.air_temperature-32)*5)/9).toFixed(1) + "°c)"; humidity = res.relative_humidity + "% humidity"; - wind = res.wind_gust + "mph (" + (res.wind_gust*1.609344).toFixed(1)+ "kph) from the " + (res.wind_direction_cardinal).toLowerCase(); + wind = res.wind_gust + "mph (" + (res.wind_gust*1.609344).toFixed(1)+ "kph) from " + (res.wind_direction_cardinal).toLowerCase(); precipToday = res.precip_accum_local_day + '" of rain today'; pressureTrend = res.pressure_trend; pressure = (res.station_pressure).toFixed(2) + 'inhg and ' + pressureTrend;