From 132322801c5bee04f9355cc1067415b3f7735bef Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 5 Aug 2019 00:44:59 +0100 Subject: [PATCH] Use the publish date for the lastupdated if available --- PolyFeed/FeedBuilder.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PolyFeed/FeedBuilder.cs b/PolyFeed/FeedBuilder.cs index 47866c2..635e461 100644 --- a/PolyFeed/FeedBuilder.cs +++ b/PolyFeed/FeedBuilder.cs @@ -118,6 +118,8 @@ namespace PolyFeed ) ); } + else if (source.Entries.Published != null) // Use the publish date if available + nextItem.LastUpdated = nextItem.Published; else // It requires one, apparently nextItem.LastUpdated = DateTimeOffset.Now;