aboutsummaryrefslogtreecommitdiff
path: root/internal/feed/mail.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--internal/feed/mail.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/feed/mail.go b/internal/feed/mail.go
index 190e1f2..a763ef8 100644
--- a/internal/feed/mail.go
+++ b/internal/feed/mail.go
@@ -63,7 +63,7 @@ func (item *item) buildHeader() message.Header {
h.Set("Message-Id", item.messageId())
{ // date
- date := item.PublishedParsed
+ date := item.DateParsed()
if date == nil {
now := time.Now()
date = &now
@@ -73,7 +73,7 @@ func (item *item) buildHeader() message.Header {
{ // subject
subject := item.Title
if subject == "" {
- subject = item.Published
+ subject = item.Date()
}
if subject == "" {
subject = item.Link