diff --git a/server/scripts/modules/currentweather.js b/server/scripts/modules/currentweather.js index 8da9403..f4346b2 100644 --- a/server/scripts/modules/currentweather.js +++ b/server/scripts/modules/currentweather.js @@ -126,7 +126,7 @@ class CurrentWeather extends WeatherDisplay { fill.wind = data.WindDirection.padEnd(3, '') + data.WindSpeed.toString().padStart(3, ' '); if (data.WindGust) fill['wind-gusts'] = `Gusts to ${data.WindGust}`; - fill.location = this.data.station.properties.name.substr(0, 20); + fill.location = utils.string.locationCleanup(this.data.station.properties.name).substr(0, 20); fill.humidity = `${data.Humidity}%`; fill.dewpoint = data.DewPoint + String.fromCharCode(176);