From f100d259d2ffebe61fef56ea3964f6d534d598c8 Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Thu, 3 Jul 2025 13:46:07 +0300 Subject: Initial pleroma pull support --- src/utils/date.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils/date.ts') diff --git a/src/utils/date.ts b/src/utils/date.ts index fb943a5..b919810 100644 --- a/src/utils/date.ts +++ b/src/utils/date.ts @@ -16,8 +16,8 @@ export function getFormattedDate( } export function collectionDateSort( - a: CollectionEntry<"post" | "note">, - b: CollectionEntry<"post" | "note">, + a: CollectionEntry<"post" | "note" | "micro">, + b: CollectionEntry<"post" | "note" | "micro">, ) { return b.data.publishDate.getTime() - a.data.publishDate.getTime(); } -- cgit v1.2.3