diff options
| author | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-03 13:59:59 +0300 |
|---|---|---|
| committer | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-03 13:59:59 +0300 |
| commit | 4b9018b6d92ef8f1854d9dc44625295c2acd3fb3 (patch) | |
| tree | 10e01ec849c7439befd0a21f04021213e98d0f94 /src/utils/date.ts | |
| parent | f100d259d2ffebe61fef56ea3964f6d534d598c8 (diff) | |
Cleanup old notes feature
Diffstat (limited to 'src/utils/date.ts')
| -rw-r--r-- | src/utils/date.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/date.ts b/src/utils/date.ts index b919810..b8c0376 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" | "micro">, - b: CollectionEntry<"post" | "note" | "micro">, + a: CollectionEntry<"post" | "micro">, + b: CollectionEntry<"post" | "micro">, ) { return b.data.publishDate.getTime() - a.data.publishDate.getTime(); } |
