X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/2648d9d1b739d7d4c402b639fa31dcfa9ae5890d..2ba00544d30017ad30570011b1a2bcc6a8da73a7:/src/components/LastUpdated.svelte diff --git a/src/components/LastUpdated.svelte b/src/components/LastUpdated.svelte index 3f914ce..0d7768d 100644 --- a/src/components/LastUpdated.svelte +++ b/src/components/LastUpdated.svelte @@ -1,15 +1,29 @@ @@ -34,7 +48,7 @@
-
+
Loading data from API ...
@@ -48,11 +62,14 @@
{/if}
-
+
{#if last_updated_date} Data last updated: - {timeago.format(new Date(last_updated_date))} + + {timeago.format(new Date(last_updated_date))} + {/if} + (Details)