summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2016-04-12 17:03:40 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-04-12 17:03:40 +0200
commite9684672bff365c1f91b318c92d541b75ecbebef (patch)
tree58be15eacee29210147a46a943e4b8fd9e7dfd96
parentb076ee216285e201cabee5a8846a84ea1462f4f1 (diff)
forecast.io backend: separate lat,lon pair by , instead of :
-rw-r--r--backends/forecast.io.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/forecast.io.go b/backends/forecast.io.go
index 00b77d8..cdea12c 100644
--- a/backends/forecast.io.go
+++ b/backends/forecast.io.go
@@ -231,7 +231,7 @@ func (c *forecastConfig) Fetch(location string, numdays int) iface.Data {
ret.Location = location
} else {
ret.GeoLoc = &iface.LatLon{Latitude: *resp.Latitude, Longitude: *resp.Longitude}
- ret.Location = fmt.Sprintf("%f:%f", *resp.Latitude, *resp.Longitude)
+ ret.Location = fmt.Sprintf("%f,%f", *resp.Latitude, *resp.Longitude)
}
if ret.Current, err = c.parseCond(resp.Currently); err != nil {