mirror of https://github.com/sbrl/PolyFeed.git
Use the publish date for the lastupdated if available
This commit is contained in:
parent
cb4e730f98
commit
132322801c
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue