mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-11 03:12:07 +08:00
Enhancement: Add formatting options to weather widgets (#3093)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user