AitorDB / home-assistant-sun-card

Home assistant sun card based on Google weather design
MIT License
407 stars 184 forks source link

Changing language to 'fi' breaks the card #28

Closed jualkaup closed 3 years ago

jualkaup commented 3 years ago

Hi,

thanks for the quick release. I tried setting the card language to 'fi', the translations are displayed correctly but the rest of the content disappears:

kuva

If there is an easy way to look at this locally, I can try fixing it myself.

System Configuration Home Assistant Core: core-2021.5.4 home-assistant-sun-card: v0.1.2

AitorDB commented 3 years ago

I just took a look to this, it seems that the the local time format for time with fi uses dots instead semi colons, it's the first time I see this format so I didn't consider it, I'll add it now and also a fallback just in case the card doesn't recognizes the format.

AitorDB commented 3 years ago

It should be fixed in v0.1.3, feel free to reopen if the issue persist

jualkaup commented 3 years ago

Fixed! Thanks a ton for the quick update 👍