Skip to content
Snippets Groups Projects
Commit 0b38a7f8 authored by Tucker Gary Siegel's avatar Tucker Gary Siegel
Browse files

update

parent 57092657
No related branches found
No related tags found
No related merge requests found
......@@ -203,9 +203,8 @@ func forecast(ctx common.DawnCtx, gddReq models.GddRequest, plantdate time.Time,
for {
bins = append(bins, models.Bin{
Value: 0,
Date: bins[c].Date.AddDate(0, 0, 1),
Date: plantdate,
})
c += 1
if len(bins) == binCount {
break
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment