From 6ac218b060b376d9c6174737cc881f8bd0d968c9 Mon Sep 17 00:00:00 2001 From: siddharth Date: Mon, 23 May 2022 00:00:13 -0400 Subject: template: update weather template update structure and styling. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index a423f21..63cce0f 100644 --- a/main.go +++ b/main.go @@ -150,7 +150,7 @@ func NewWeather(point *nws.NWSPoint, f, fh *nws.NWSForecast) (*Weather, error) { // build timeline. periods := []WeatherPeriod{} - max := 12 + max := 6 for i, period := range fh.Properties.Periods { if i%2 != 0 { continue // take every other period -- cgit v1.2.3