Skip to content

Commit

Permalink
Fixed price display for 25hr days
Browse files Browse the repository at this point in the history
  • Loading branch information
gskjold committed Oct 29, 2023
1 parent a6d8857 commit 206c90c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/EntsoePriceApi/src/EntsoeApi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ float EntsoeApi::getValueForHour(time_t ts, int8_t hour) {
breakTime(tz->toLocal(ts), tm);
hoursToday++;
}
if(pos >= 48)
if(pos > 49)
return ENTSOE_NO_VALUE;

float value = ENTSOE_NO_VALUE;
Expand Down
Loading

0 comments on commit 206c90c

Please sign in to comment.