mirror of
https://github.com/yang991178/fluent-reader.git
synced 2025-02-26 16:37:46 +01:00
More chance for item to fallback to publish time
This commit is contained in:
parent
71aabe67d8
commit
f566e7f695
@ -34,7 +34,7 @@ export class RSSItem {
|
||||
this.title = item.title || intl.get("article.untitled")
|
||||
this.link = item.link || ""
|
||||
this.fetchedDate = new Date()
|
||||
this.date = item.isoDate ? new Date(item.isoDate) : this.fetchedDate
|
||||
this.date = new Date(item.isoDate ?? item.pubDate ?? this.fetchedDate)
|
||||
this.creator = item.creator
|
||||
this.hasRead = false
|
||||
this.starred = false
|
||||
|
Loading…
x
Reference in New Issue
Block a user