luxiouronimo / MMM-OpenWeatherForecastDeluxe

Magic Mirror module to display weather information using the OpenWeather One Call API.
0 stars 1 forks source link

label_ordinals assumes 16 labels, want to support 8 for arrow characters #1

Closed luxiouronimo closed 1 year ago

luxiouronimo commented 1 year ago

there isn't a convenient way to map the current 16 ordinal labels for use with ←↖↑↗→↘↓↙

i guess getOrdinal() needs to operate on the length of this.config.label_ordinals instead of 16.

luxiouronimo commented 1 year ago

well when u put it like that, it's actually quite simple to implement (https://github.com/luxiouronimo/MMM-OpenWeatherMapForecast/commit/5b4f2bca31100389e0d3dac3da9bb165b9e7fade)