From 2dee05cf68afedbca499cdcbabf4960a49c7a62b Mon Sep 17 00:00:00 2001 From: StefanSchoof <4662023+StefanSchoof@users.noreply.github.com> Date: Sat, 20 Jun 2026 13:52:06 +0200 Subject: [PATCH] Green Grid Compass: Allow timestamp with +00:00 (#31057) --- templates/definition/tariff/green-grid-compass.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/definition/tariff/green-grid-compass.yaml b/templates/definition/tariff/green-grid-compass.yaml index 7233a2c2b..347bf34cc 100644 --- a/templates/definition/tariff/green-grid-compass.yaml +++ b/templates/definition/tariff/green-grid-compass.yaml @@ -42,7 +42,7 @@ render: | jq: | .measurements[0].measurementValues | map({ "start": .timestamp, - "end": (.timestamp | strptime("%Y-%m-%dT%H:%M:%SZ") | mktime + 3600 | strftime("%FT%TZ")), + "end": (.timestamp | fromdateiso8601 + 3600 | todateiso8601), "value": .value }) | tostring cache: 1h