Merge pull request #2625 from omnivore-app/fix/web-use-saved-at

Prefer the savedAt date over created at in the article headers
This commit is contained in:
Jackson Harper 2023-08-10 15:09:57 +08:00 committed by GitHub
commit d56fc47b91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -398,7 +398,9 @@ export function ArticleContainer(props: ArticleContainerProps): JSX.Element {
<VStack alignment="start" distribution="start">
<ReaderSavedInfo
rawDisplayDate={
props.article.publishedAt ?? props.article.createdAt
props.article.publishedAt ??
props.article.savedAt ??
props.article.createdAt
}
wordsCount={props.article.wordsCount}
/>