summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index 9389d65..3fb2d8d 100644
--- a/main.go
+++ b/main.go
@@ -43,7 +43,7 @@ type Weather struct {
Now WeatherNow
Period WeatherPeriod
Q2HTimeline WeatherTimeline // Q2H forecast of the next 12 hours.
- BiDailyTimeline WeatherTimeline // Bi-daily forecast.
+ BiDailyTimeline WeatherTimeline // BiDaily forecast for the next 3 days.
}
type WeatherNow struct {
@@ -229,9 +229,9 @@ func NewWeather(point *nws.Point, f, fh *nws.Forecast) (*Weather, error) {
Periods: q2hPeriods,
}
- // Build BiDaily timeline for the next 5 days.
+ // Build BiDaily timeline for the next 3 days.
bdPeriods := []WeatherPeriod{}
- max = 12
+ max = 8
for _, period := range f.Properties.Periods {
p := WeatherPeriod{
Name: period.Name,