X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/c061d3fd3d4c9135fdbda0af273d9fc0dc5b5535..ff85679c2bc5fcc4119ab4da563fa5222440f3ab:/src/components/LastUpdated.svelte diff --git a/src/components/LastUpdated.svelte b/src/components/LastUpdated.svelte index ccf1338..129c893 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 @@ -43,8 +64,10 @@
{#if last_updated_date} - Data last updated: {last_updated_date} + Data last updated: + {timeago.format(new Date(last_updated_date))} {/if} + (Details)