We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e071d7e commit 2dee05cCopy full SHA for 2dee05c
1 file changed
templates/definition/tariff/green-grid-compass.yaml
@@ -42,7 +42,7 @@ render: |
42
jq: |
43
.measurements[0].measurementValues | map({
44
"start": .timestamp,
45
- "end": (.timestamp | strptime("%Y-%m-%dT%H:%M:%SZ") | mktime + 3600 | strftime("%FT%TZ")),
+ "end": (.timestamp | fromdateiso8601 + 3600 | todateiso8601),
46
"value": .value
47
}) | tostring
48
cache: 1h
0 commit comments