diff --git a/src/lib/components/lemmy/comment/CommentItem.svelte b/src/lib/components/lemmy/comment/CommentItem.svelte
index 67248e04..1bc100e0 100644
--- a/src/lib/components/lemmy/comment/CommentItem.svelte
+++ b/src/lib/components/lemmy/comment/CommentItem.svelte
@@ -1,6 +1,7 @@
diff --git a/src/lib/components/util/date.ts b/src/lib/components/util/date.ts
index fa6d90ba..e26fde62 100644
--- a/src/lib/components/util/date.ts
+++ b/src/lib/components/util/date.ts
@@ -1,2 +1,9 @@
-export const publishedToDate = (published: string) =>
- published.endsWith('Z') ? new Date(published) : new Date(`${published}Z`)
+export const publishedToDate = (published: string): Date => {
+ console.log(published)
+ published.endsWith('Z')
+ ? console.log('includes a z. Not doing anything.')
+ : console.log("doesn't include a z. adding it.")
+ return published.endsWith('Z')
+ ? new Date(published)
+ : new Date(`${published}Z`)
+}
diff --git a/src/routes/modlog/item/ModlogItemCard.svelte b/src/routes/modlog/item/ModlogItemCard.svelte
index 7fc2fa29..ee119fff 100644
--- a/src/routes/modlog/item/ModlogItemCard.svelte
+++ b/src/routes/modlog/item/ModlogItemCard.svelte
@@ -33,9 +33,6 @@
class="flex items-center gap-1 text-green-600 dark:text-green-400 font-medium"
>
- {#if !item.moderator.admin}
-
- {/if}
{/if}
{#if item.moderatee}
diff --git a/src/routes/post/[instance]/[id=integer]/+page.svelte b/src/routes/post/[instance]/[id=integer]/+page.svelte
index eeeecfbe..8fd9fa7f 100644
--- a/src/routes/post/[instance]/[id=integer]/+page.svelte
+++ b/src/routes/post/[instance]/[id=integer]/+page.svelte
@@ -39,6 +39,7 @@
import EndPlaceholder from '$lib/components/ui/EndPlaceholder.svelte'
import { userSettings } from '$lib/settings.js'
import { feature } from '$lib/version.js'
+ import { publishedToDate } from '$lib/components/util/date.js'
export let data
@@ -162,7 +163,7 @@
featured={post.post_view.post.featured_community ||
post.post_view.post.featured_local}
nsfw={post.post_view.post.nsfw}
- published={new Date(post.post_view.post.published + 'Z')}
+ published={publishedToDate(post.post_view.post.published)}
saved={post.post_view.saved}
/>