Skip to content

Commit

Permalink
Change to use the == comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
teeks99 committed Oct 31, 2024
1 parent 2f121cb commit d19e9f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion skins/JSON/current_minimal.json.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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")",
Expand Down
2 changes: 1 addition & 1 deletion skins/JSON/weewx.json.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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")",
Expand Down

0 comments on commit d19e9f7

Please sign in to comment.