diff --git a/src/lib/components/community/CommunityCard.svelte b/src/lib/components/community/CommunityCard.svelte index b307aa8b..8b7d6fad 100644 --- a/src/lib/components/community/CommunityCard.svelte +++ b/src/lib/components/community/CommunityCard.svelte @@ -25,7 +25,7 @@ `https://api.dicebear.com/6.x/initials/svg?seed=${community_view.community.name}`} alt={community_view.community.name} /> - + diff --git a/src/lib/components/lemmy/comment/Comment.svelte b/src/lib/components/lemmy/comment/Comment.svelte index 44d150b1..e5a2a50a 100644 --- a/src/lib/components/lemmy/comment/Comment.svelte +++ b/src/lib/components/lemmy/comment/Comment.svelte @@ -87,12 +87,10 @@ >
- - - - + + diff --git a/src/lib/components/util/RelativeDate.svelte b/src/lib/components/util/RelativeDate.svelte index 63aa687d..3a8d82bd 100644 --- a/src/lib/components/util/RelativeDate.svelte +++ b/src/lib/components/util/RelativeDate.svelte @@ -26,7 +26,8 @@ // Create a RelativeTimeFormat instance with user's locale and options const rtf = new Intl.RelativeTimeFormat(navigator.language, { - numeric: 'auto', + numeric: 'always', + style: 'long', }) return rtf.format(-value, thresholds[i].unit as any) diff --git a/src/routes/post/[instance]/[id]/+page.svelte b/src/routes/post/[instance]/[id]/+page.svelte index 6e451489..2b68a8ff 100644 --- a/src/routes/post/[instance]/[id]/+page.svelte +++ b/src/routes/post/[instance]/[id]/+page.svelte @@ -13,6 +13,7 @@ import Markdown from '$lib/components/markdown/Markdown.svelte' import Avatar from '$lib/components/ui/Avatar.svelte' import RelativeDate from '$lib/components/util/RelativeDate.svelte' + import CommunityCard from '$lib/components/community/CommunityCard.svelte' export let data @@ -107,9 +108,9 @@ width={24} alt={postData.community.name} /> -
+
- + •