And don't forget Fahrenheit

This commit is contained in:
Applevangelist
2022-03-26 14:46:52 +01:00
parent 0213bc7aef
commit 5260b2b430
3 changed files with 6 additions and 6 deletions

View File

@@ -2755,7 +2755,7 @@ function RANGE:_DisplayRangeWeather( _unitname )
local tW = string.format( "%.1f m/s", Ws )
local tP = string.format( "%.1f mmHg", P * hPa2mmHg )
if settings:IsImperial() then
-- tT=string.format("%d°F", UTILS.CelsiusToFarenheit(T))
-- tT=string.format("%d°F", UTILS.CelsiusToFahrenheit(T))
tW = string.format( "%.1f knots", UTILS.MpsToKnots( Ws ) )
tP = string.format( "%.2f inHg", P * hPa2inHg )
end