diff options
author | Sam Chudnick <sam@chudnick.com> | 2023-06-11 08:25:15 -0400 |
---|---|---|
committer | Sam Chudnick <sam@chudnick.com> | 2023-06-11 08:25:15 -0400 |
commit | 83f821550b5ddcf8dcb1859294f68868425aa904 (patch) | |
tree | 63a92cc8215e92f6bc26c6a8a4cac6acdb31135f | |
parent | 4cee489283f8f90b1650d5b09432d2b4e9bb470d (diff) |
Return 48 hours of hourly data not 24
-rw-r--r-- | src/templates/weather.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates/weather.html b/src/templates/weather.html index 64aabbd..a222ad8 100644 --- a/src/templates/weather.html +++ b/src/templates/weather.html | |||
@@ -27,7 +27,7 @@ | |||
27 | </div> | 27 | </div> |
28 | <div class=forecast-header> <h2 class=forecast-header>Hourly Forecast</h2> </div> | 28 | <div class=forecast-header> <h2 class=forecast-header>Hourly Forecast</h2> </div> |
29 | <div class=hourly> | 29 | <div class=hourly> |
30 | {% for i in range(hour, hour + 24) %} | 30 | {% for i in range(hour, hour + 48) %} |
31 | <div class=hourly-box> | 31 | <div class=hourly-box> |
32 | <div class=hourly-info> | 32 | <div class=hourly-info> |
33 | <div class=hourly-time><strong>{{ data["hourly"]["time"][i] }}</strong></div> | 33 | <div class=hourly-time><strong>{{ data["hourly"]["time"][i] }}</strong></div> |