mtatsuma / MMM-WeatherChart

Magic Mirror Module for displaying weather chart
MIT License
26 stars 8 forks source link

Hour format? #13

Closed ger19wmu closed 3 years ago

ger19wmu commented 3 years ago

First off, thanks for this module, I love the visual hourly info!

Would it be possible to get an option to change the display of time in the hourly format? So rather than 24 hour format, a 12 hour format? Instead of (11 12 13 14) maybe something like (11a 12p 1p 2p)?

Thanks for the consideration!

mtatsuma commented 3 years ago

Thank you for using this module!

I'll try adding that config option. Please give me some time.

mtatsuma commented 3 years ago

I added a new config option hourFormat.

You can change to 12 hour format by cloning the latest version of module and adding hourFormat: 12h in config.js. Please try it.

ger19wmu commented 3 years ago

Worked great! And thanks for the fast turn around!!