X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/c061d3fd3d4c9135fdbda0af273d9fc0dc5b5535..1e4c08dcf8369732a0f3da72ed4ef1a99c9618dd:/src/components/LastUpdated.svelte?ds=sidebyside diff --git a/src/components/LastUpdated.svelte b/src/components/LastUpdated.svelte index ccf1338..08be5d9 100644 --- a/src/components/LastUpdated.svelte +++ b/src/components/LastUpdated.svelte @@ -1,27 +1,45 @@
+
+
+ Loading data from API ... +
-
loading...
{#if last_api_request_url}
Data from API request @@ -41,10 +62,12 @@
{/if}
-
+
{#if last_updated_date} - Data last updated: {last_updated_date} + Data last updated: + {timeago.format(new Date(last_updated_date))} {/if} + (Details)