Wind spead localisation issue (only mph, but no km/h)

Bug #703820 reported by Seth Kriticos
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Weather Indicator
Fix Released
Medium
Vadim Rutkovsky

Bug Description

An option to set the local unit for wind speed for metric counties is missing.

Tags: localisation
Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Confirmed. I guess, we will have to move out from Google Weather API to implement that

Changed in weather-indicator:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Seth Kriticos (seth-kriticos) wrote :

Was googling for the Google weather API, and it's possible to obtain localized weather data (localized weather condition names, unit system) by adding hl=<localtion> parameter to the query. An example:

http://www.google.com/ig/api?weather=Berlin&hl=de

Returns localized weather information for Berlin (Germany), with the local unit system (SI).

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Thats right, but I'd prefer the units to be configurable by the user

Revision history for this message
Lassevalentini (lasse-valentini) wrote :

If you are always retrieving the weather data in mph, you could simply calculate the km/h.

Revision history for this message
Vadim Rutkovsky (roignac) wrote : Re: [Bug 703820] Re: Wind spead localisation issue (only mph, but no km/h)

After a short investigation it seems that using other data source will
require a massive rework of the code, so let's just convert units, returned
by Google.

Changed in weather-indicator:
assignee: nobody → Vadim Rutkovsky (roignac)
milestone: none → 11.02.16
status: Confirmed → Fix Committed
Changed in weather-indicator:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.