mirror of
https://github.com/sbrl/PolyFeed.git
synced 2024-11-21 06:22:59 +00:00
Use the publish date for the lastupdated if available
This commit is contained in:
parent
cb4e730f98
commit
132322801c
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue