+
{weatherData?.name}
+
{weatherData?.main?.temp} °C
+
+ {weatherData?.weather?.[0]?.description}
+
+ {iconUrl && (
+
![{weatherData?.weather?.[0]?.description}]({iconUrl})
+ )}
+
+
+

+
+ Sunrise:{" "}
+ {weatherData?.sys?.sunrise
+ ? new Date(weatherData.sys.sunrise * 1000).toLocaleTimeString(
+ "de-DE",
+ { hour: "2-digit", minute: "2-digit" }
+ )
+ : "--:--"}
+
+
+
+

+
+ Sunset:{" "}
+ {weatherData?.sys?.sunset
+ ? new Date(weatherData.sys.sunset * 1000).toLocaleTimeString(
+ "de-DE",
+ { hour: "2-digit", minute: "2-digit" }
+ )
+ : "--:--"}
+
+
+
+