diff --git a/app/models/cost.rb b/app/models/cost.rb index 1145ab7..4f32499 100644 --- a/app/models/cost.rb +++ b/app/models/cost.rb @@ -295,7 +295,11 @@ class Cost when 1704063600..1735603199 vat = 1 + vat_at(Date.parse(formatted_hour)) normaal_kwh_cost = 0.25767769*vat - dal_kwh_cost = 0.25767769*vat + dal_kwh_cost = 0.25767769*vat + when 1735711200..1767160800 + vat = 1 + vat_at(Date.parse(formatted_hour)) + normaal_kwh_cost = 0.2695*vat + dal_kwh_cost = 0.2296*vat else p "Not supported interval Oxxio for value: %d" % date.to_time.to_i # catch-all, incase 'formated_hour' is outside any of the cases