From 30b7af1dbec405b02df794a799a24c6f35dfbdc5 Mon Sep 17 00:00:00 2001
From: Jakob Stendahl <jakob.stendahl@outlook.com>
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 @@
         <div class="weatherCurrent-data-location">
             {#if !$navigator_location.updating && $navigator_location.available && !$earth_weather.updating && !$space_weather.updating}
                 <i class="symbol fas fa-map-marker-alt"></i>
-                <h1>{$navigator_location.city}</h1>
+                {#if $navigator_location.city !== undefined}
+                    <h1>{$navigator_location.city}</h1>
+                {:else}
+                    <h1>long: {$navigator_location.longitude}<br />lat: {$navigator_location.latitude}</h1>
+                {/if}
             {/if}
         </div>
 
-- 
cgit v1.2.3

