Skip to content

Commit

Permalink
Only show 4 decimals for the geocode provided by weewx-forecast. GH-191
Browse files Browse the repository at this point in the history
  • Loading branch information
Daveiano committed Aug 12, 2023
1 parent b4fd2fb commit ad9dcbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion skins/weewx-wdc/includes/forecast-table.inc
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,9 @@
<div class="issued">
$gettext("Forecast")
#if $wloc is not None and $wloc != ''
for $wloc
#set $wloc_list = $wloc.split(',')
#set $format_string = "{0:.3f}"
for $format_string.format($float($wloc_list[0])), $format_string.format($float($wloc_list[1]))
#end if
#if $wts is not None and $wts != ''
issued on $wts
Expand Down

0 comments on commit ad9dcbe

Please sign in to comment.