Skip to content

Commit

Permalink
log future posts as info, not as warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lsaffre committed Jul 20, 2024
1 parent 7aa3bc3 commit 9e5e970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinxfeed.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def create_feed_item(app, pagename, templatename, ctx, doctree):
pubDate = parse_pubdate(pubDate)

if pubDate > time.localtime():
logger.warning("Skipping %s, publish date is in the future: %s", pagename, pubDate)
logger.info("Skipping %s, publish date is in the future: %s", pagename, pubDate)
return

if not ctx.get('body') or not ctx.get('title'):
Expand Down

0 comments on commit 9e5e970

Please sign in to comment.