From f08ba1de303c226e3d026719fa4e12d04e9cee82 Mon Sep 17 00:00:00 2001 From: Michael Huntington <2466745+MikeHuntington@users.noreply.github.com> Date: Tue, 22 Aug 2023 16:14:42 +0000 Subject: [PATCH] fixing postdate check --- bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.js b/bot.js index d0893dc..229bc6d 100644 --- a/bot.js +++ b/bot.js @@ -75,7 +75,7 @@ async function processFeed(feed, postDate, feedOptions) { let validFeeds = feed.items .filter((item) => { let pubDate = new Date(item.pubDate); - return pubDate < postDate; + return pubDate > postDate; }) .slice(0, maxPostPerScan);