From: mtmail Date: Wed, 17 Feb 2021 14:10:46 +0000 (+0100) Subject: last update -x ago-, spinner for loading indicator (#83) X-Git-Url: https://git.openstreetmap.org/nominatim-ui.git/commitdiff_plain/2648d9d1b739d7d4c402b639fa31dcfa9ae5890d last update -x ago-, spinner for loading indicator (#83) --- diff --git a/package.json b/package.json index 2b23a65..405b30f 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "eslint-plugin-svelte3": "^3.0.0", "jquery": "^3.5.1", "leaflet": "^1.7.1", - "leaflet-minimap": "^3.6.1" + "leaflet-minimap": "^3.6.1", + "timeago.js": "^4.0.2" } } diff --git a/src/components/LastUpdated.svelte b/src/components/LastUpdated.svelte index ccf1338..3f914ce 100644 --- a/src/components/LastUpdated.svelte +++ b/src/components/LastUpdated.svelte @@ -1,4 +1,5 @@