take yearshift into account
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user