diff --git a/skins/JSON/current_minimal.json.tmpl b/skins/JSON/current_minimal.json.tmpl index 5f5cf2f..a69b92a 100644 --- a/skins/JSON/current_minimal.json.tmpl +++ b/skins/JSON/current_minimal.json.tmpl @@ -9,7 +9,7 @@ }, "generation": { - #if $Extras.timestamp_fmt is "human" + #if $Extras.timestamp_fmt == "human" "time": "$current.dateTime.format("%a, %d %b %Y %H:%M:%S %Z")", #else "time": "$current.dateTime.format("%Y-%m-%dT%H:%M:%S%z")", diff --git a/skins/JSON/weewx.json.tmpl b/skins/JSON/weewx.json.tmpl index 3129370..4a30d0d 100644 --- a/skins/JSON/weewx.json.tmpl +++ b/skins/JSON/weewx.json.tmpl @@ -9,7 +9,7 @@ }, "generation": { - #if $Extras.timestamp_fmt is "human" + #if $Extras.timestamp_fmt == "human" "time": "$current.dateTime.format("%a, %d %b %Y %H:%M:%S %Z")", #else "time": "$current.dateTime.format("%Y-%m-%dT%H:%M:%S%z")",