Green Grid Compass: Allow timestamp with +00:00 (#31057)

This commit is contained in:
StefanSchoof 2026-06-20 13:52:06 +02:00 • committed by GitHub
parent e071d7ee7e
commit 2dee05cf68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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