add shutdown option & fix german weather strings

This commit is contained in:
Ace
2024-06-27 01:55:23 +02:00
parent 758d748d76
commit 9d691acfc5
3 changed files with 27 additions and 5 deletions

View File

@@ -518,7 +518,7 @@ class Weather(inkycal_module):
stamp = fc_data[f'fc{pos}']['stamp']
# check if we're using daily forecasts
if "day" in stamp:
stamp = arrow.get(fc_data[f'fc{pos}']['stamp'], "dddd").format("dddd", locale="de")
stamp = arrow.get(fc_data[f'fc{pos}']['stamp'], "dddd").format("dddd", locale=self.locale)
icon = weather_icons[fc_data[f'fc{pos}']['icon']]
temp = fc_data[f'fc{pos}']['temp']