take yearshift into account

This commit is contained in:
Aart van Halteren
2022-09-15 22:22:27 +02:00
parent e0f5865cd8
commit 754a7d3997
2 changed files with 4 additions and 2 deletions

View File

@@ -114,6 +114,7 @@ class Entsoe
prices.map{|p| [start_time.advance(hours: (p[0]-1)), p[1]]}.to_h
rescue Date::Error => e
p e.message
{}
end
end
end