diff --git a/src/routes/[country]/[location]/index.svelte b/src/routes/[country]/[location]/index.svelte index 7ec0d94..4706b61 100644 --- a/src/routes/[country]/[location]/index.svelte +++ b/src/routes/[country]/[location]/index.svelte @@ -2,6 +2,7 @@ import { page } from '$app/stores' import dayjs from 'dayjs' import advancedFormat from 'dayjs/plugin/advancedFormat' + import relativeTime from 'dayjs/plugin/relativeTime' import { getAssetUrl } from '$utils/helpers' // Components import Button from '$components/atoms/Button.svelte' @@ -12,6 +13,7 @@ export let photos: any dayjs.extend(advancedFormat) + dayjs.extend(relativeTime) const { params } = $page let descriptionEl: HTMLElement @@ -54,7 +56,11 @@ {/each}
· -Updated [10] days ago
++ Updated +