distance from weather station always displayed in kilometers

friolator - September 27, 2009 - 11:51
Project:Weather
Version:6.x-5.6
Component:Code
Category:feature request
Priority:normal
Assigned:toddy
Status:active
Description

there should be an option to display this in Miles, as we can do with wind speed.

#1

toddy - September 28, 2009 - 12:45
Assigned to:Anonymous» toddy
Status:active» fixed

That option exists. The unit is taken from the default location, you can configure it under admin/settings/weather/default.

#2

friolator - September 28, 2009 - 15:13
Status:fixed» active

The only option that includes speed units in Default Location is for Wind Speed . The wind speed shows the correct units (MPH), but the distance to the weather station does not (km). See attached screen shots to see the settings we've made and the resulting block.

AttachmentSize
Picture 21.png 104.93 KB
Picture 22.png 9 KB

#3

toddy - September 28, 2009 - 16:42

The distance unit is taken from "Visibility", which you've set to "Don't display". Therefore, the module falls back to the default metric units. Try to set "Visibility" to "UK Miles".

#4

friolator - September 28, 2009 - 18:21
Category:bug report» feature request

ahh. ok.

I would suggest that what might make more sense would be to have an overall default setting for 'units,' that affect any setting where you would have a choice. It's not really obvious (or intuitive) that the setting for the physical distance from weather station to actual location has anything to do with the atmospheric visibility of the moment...

at minimum, a separate setting for the distance units would be nice.

thanks.

 
 

Drupal is a registered trademark of Dries Buytaert.