fix: correct added_at timestamp to use bookmark list creation time, not content creation time

This commit is contained in:
Gigi
2025-10-22 12:12:44 +02:00
parent 9fa83a2a1c
commit 748b2e1631

View File

@@ -165,7 +165,9 @@ export const processApplesauceBookmarks = (
parsedContent: bookmark.content ? (getParsedContent(bookmark.content) as ParsedContent) : undefined,
type: 'event' as const,
isPrivate,
added_at: bookmark.created_at || parentCreatedAt || 0
// added_at should be when the bookmark was added (parentCreatedAt = bookmark list event timestamp)
// NOT when the content itself was created
added_at: parentCreatedAt || bookmark.created_at || 0
}))
}