instiapp-api
instiapp-api copied to clipboard
News with publish_date in future
Blogs with publish_date in future should not be shown/notified.
A simple fix is to not send news items with future publish_date, but this may still send notifications for those blogs as that is decided in news chore. A better fix would be to ignore new entries in news chore.
You probably also want to ensure that the chore ignores posts with future dates both while creating and updating the post. This way, even if the post (which is uniquely identified by the GUID) changes to a far-future date after being created, it doesn't show up at the top of the news feed.