diff --git a/SharpbinV3.Client/src/lib/components/Paste.svelte b/SharpbinV3.Client/src/lib/components/Paste.svelte index 5997821..3120672 100644 --- a/SharpbinV3.Client/src/lib/components/Paste.svelte +++ b/SharpbinV3.Client/src/lib/components/Paste.svelte @@ -7,8 +7,8 @@ Code, User, History, - Calendar, - Timer, + CalendarDays, + CalendarOff, Lock, EyeOff, Globe, @@ -41,7 +41,7 @@ class="flex items-center gap-2 text-sm text-neutral-400" use:tooltip={`${new Date(paste.createdAt).toLocaleString()} • ${dateToRelativeString(new Date(paste.createdAt), true, false, now)}`} > - + {#if paste.createdAt} {#if paste.createdAt > Date.now() - 86_400_000} Created {dateToRelativeString(new Date(paste.createdAt), true, false, now)} @@ -117,7 +117,7 @@ class="flex items-center gap-2 text-sm text-neutral-400" use:tooltip={`${new Date(paste.createdAt).toLocaleString()} • ${dateToRelativeString(new Date(paste.createdAt), true, false, now)}`} > - + {#if paste.createdAt} {#if paste.createdAt > Date.now() - 86_400_000} @@ -144,7 +144,7 @@ class="mt-1 flex items-center gap-2 text-sm text-neutral-400" use:tooltip={new Date(paste.expiresAt).toLocaleString()} > - + {paste.expiresAt > 0 && paste.expiresAt < Date.now() ? `Expired ${dateToRelativeString(new Date(paste.expiresAt), true, false, now)}`