diff --git a/inxi b/inxi index 66e204a..b2ab43d 100755 --- a/inxi +++ b/inxi @@ -1,8 +1,8 @@ #!/usr/bin/env bash ######################################################################## #### Script Name: inxi -#### Version: 2.3.8 -#### Date: 2017-01-14 +#### Version: 2.3.9 +#### Date: 2017-05-29 #### Patch Number: 00 ######################################################################## #### SPECIAL THANKS @@ -15058,7 +15058,8 @@ print_weather_data() country=" $openP${a_location[5]}$closeP" fi if [[ -n ${a_weather[10]} ]];then - altitude=" ${C1}Altitude$SEP3${C2} ${a_weather[10]}" + # note: bug in source data uses ft for meters, not 100% of time, but usually + altitude=" ${C1}Altitude$SEP3${C2} ${a_weather[10]/ft/m}" fi location_string="${C1}Location$SEP3${C2}$city$state$country$altitude " else diff --git a/inxi.changelog b/inxi.changelog index db0f89e..c39e516 100644 --- a/inxi.changelog +++ b/inxi.changelog @@ -1,3 +1,20 @@ +===================================================================================== +Version: 2.3.9 +Patch Version: 00 +Script Date: 2017-05-29 +----------------------------------- +Changes: +----------------------------------- +New version, tarball. Tiny fix, due to a data bug, changing ft to m in weather altitude. + +Note that this bug is not universal, but I believe this will make inxi more right than wrong +as a general rule. Further note that altitude is NOT actually the altitude of the city/location +requested, in most cases, but rather the altitude of the weather station data assigned to that +location request. + +----------------------------------- +-- Harald Hope - Mon, 29 May 2017 12:40:12 -0700 + ===================================================================================== Version: 2.3.8 Patch Version: 00