We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf04e30 commit 631941cCopy full SHA for 631941c
src/FeedIo/Reader/Result/UpdateStats.php
@@ -42,6 +42,7 @@ public function __construct(
42
) {
43
$dates = $this->extractDates($feed);
44
if (count($dates) > 0) {
45
+ // get the most recent item date that is not in the future
46
$this->newestItemDate = min(max($dates), time());
47
} else {
48
$this->newestItemDate = $this->getFeedTimestamp();
0 commit comments