Skip to content

Commit

Permalink
Ostrom: fix time format (#17492)
Browse files Browse the repository at this point in the history
  • Loading branch information
kscholty authored Nov 29, 2024
1 parent 1470ac1 commit 15b69fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tariff/ostrom.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ func (t *Ostrom) run(done chan error) {
end := start.AddDate(0, 0, 2)

params := url.Values{
"startDate": {start.Format(time.RFC3339)},
"endDate": {end.Format(time.RFC3339)},
"startDate": {start.Format("2006-01-02T15:04:05.000Z07:00")},
"endDate": {end.Format("2006-01-02T15:04:05.000Z07:00")},
"resolution": {"HOUR"},
"zip": {t.zip},
}
Expand Down

0 comments on commit 15b69fe

Please sign in to comment.