From 30b7af1dbec405b02df794a799a24c6f35dfbdc5 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Mon, 2 May 2022 23:06:37 +0200 Subject: Convert all date strings to ISO861, do some minor design fixes --- src/components/WeatherCurrent.svelte | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/components/WeatherCurrent.svelte') diff --git a/src/components/WeatherCurrent.svelte b/src/components/WeatherCurrent.svelte index 8578692..9c47873 100644 --- a/src/components/WeatherCurrent.svelte +++ b/src/components/WeatherCurrent.svelte @@ -95,7 +95,11 @@
{#if !$navigator_location.updating && $navigator_location.available && !$earth_weather.updating && !$space_weather.updating} -

{$navigator_location.city}

+ {#if $navigator_location.city !== undefined} +

{$navigator_location.city}

+ {:else} +

long: {$navigator_location.longitude}
lat: {$navigator_location.latitude}

+ {/if} {/if}
-- cgit v1.2.3