summaryrefslogtreecommitdiff
path: root/src/utils/date.ts
diff options
context:
space:
mode:
authorDawid Rycerz <dawid@rycerz.xyz>2025-07-03 13:46:07 +0300
committerDawid Rycerz <dawid@rycerz.xyz>2025-07-03 13:46:07 +0300
commitf100d259d2ffebe61fef56ea3964f6d534d598c8 (patch)
tree09d06511506da9c35585740d56598eb542fac079 /src/utils/date.ts
parent1e5f5a953588cefa75396454c9aed0a79552db14 (diff)
Initial pleroma pull support
Diffstat (limited to 'src/utils/date.ts')
-rw-r--r--src/utils/date.ts4
1 files changed, 2 insertions, 2 deletions
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();
}