Skip to content

Commit 2dee05c

Browse files
authored
Green Grid Compass: Allow timestamp with +00:00 (#31057)
1 parent e071d7e commit 2dee05c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/definition/tariff/green-grid-compass.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ render: |
4242
jq: |
4343
.measurements[0].measurementValues | map({
4444
"start": .timestamp,
45-
"end": (.timestamp | strptime("%Y-%m-%dT%H:%M:%SZ") | mktime + 3600 | strftime("%FT%TZ")),
45+
"end": (.timestamp | fromdateiso8601 + 3600 | todateiso8601),
4646
"value": .value
4747
}) | tostring
4848
cache: 1h

0 commit comments

Comments
 (0)