summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2022-05-23 00:00:13 -0400
committersiddharth <s@ricketyspace.net>2022-05-23 00:00:13 -0400
commit6ac218b060b376d9c6174737cc881f8bd0d968c9 (patch)
tree7f83e6711c09e155252f4ec9ec630b4b694233e0 /main.go
parentf94d80072507f2aaf99f872c348e34918d96ca87 (diff)
template: update weather template
update structure and styling.
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
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