mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-17 10:19:49 +00:00
Enhancement: Add formatting options to weather widgets (#3093)
This commit is contained in:
parent
83d1ea5ec4
commit
b5258c5200
6 changed files with 9 additions and 1 deletions
|
@ -46,6 +46,7 @@ function Widget({ options }) {
|
|||
value: data.current_weather.temperature,
|
||||
style: "unit",
|
||||
unit,
|
||||
...options.format,
|
||||
})}
|
||||
</PrimaryText>
|
||||
<SecondaryText>{t(`wmo.${data.current_weather.weathercode}-${timeOfDay}`)}</SecondaryText>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue