Skip to content

Commit

Permalink
Bugfix, refs GH-191
Browse files Browse the repository at this point in the history
  • Loading branch information
Daveiano committed Feb 1, 2024
1 parent d07b2e1 commit b1b0172
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions skins/weewx-wdc/includes/forecast-table.inc
Original file line number Diff line number Diff line change
Expand Up @@ -325,11 +325,12 @@
#else
$summary.windSpeedMin.nolabel('%.0f','') - $summary.windSpeedMax.nolabel('%.0f',' ')
#end if
<div class="windgust">
#include "includes/icons/wind-gust-2.svg"
$summary.windGust.nolabel('%.0f',' ')
</div>
$summary.windChar
#if $summary.windGust is not None and $summary.windGust.raw is not None
<div class="windgust">
#include "includes/icons/wind-gust-2.svg"
$summary.windGust.nolabel('%.0f',' ')
</div>
#end if
</bx-structured-list-cell>
<!--prettier-ignore-->
#end if
Expand Down Expand Up @@ -774,15 +775,15 @@
#end if
</div>

<!--prettier-ignore-->
#set $wloc = $summary.location
<!--prettier-ignore-->
<div class="issued">
$gettext("Forecast")
#if $wloc is not None and $wloc != ''
#if $wloc is not None and $wloc != '' and ',' in $wloc
#set $wloc_list = $wloc.replace("geocode=", "").split(',')
#set $format_string = "{0:.3f}"
for $format_string.format($float($wloc_list[0])), $format_string.format($float($wloc_list[1]))
#else
for $wloc
#end if
#if $wts is not None and $wts != ''
issued on $wts
Expand Down

0 comments on commit b1b0172

Please sign in to comment.