From 9fe4480c3981c38ae8e24d0495df957039864a5d Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Tue, 13 Jan 2026 17:13:43 +0100 Subject: Remove micro and migrate to use only posts --- src/utils/date.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/utils/date.ts') diff --git a/src/utils/date.ts b/src/utils/date.ts index b8c0376..314a837 100644 --- a/src/utils/date.ts +++ b/src/utils/date.ts @@ -15,9 +15,6 @@ export function getFormattedDate( }).format(date); } -export function collectionDateSort( - a: CollectionEntry<"post" | "micro">, - b: CollectionEntry<"post" | "micro">, -) { +export function collectionDateSort(a: CollectionEntry<"post">, b: CollectionEntry<"post">) { return b.data.publishDate.getTime() - a.data.publishDate.getTime(); } -- cgit v1.2.3