newsletter days corrected
All checks were successful
Build and Deploy Backend / build_and_deploy (push) Successful in 21s

This commit is contained in:
ebby 2026-10-02 19:39:47 +02:00
parent 47a71ff40b
commit f929cb0cd8

View file

@ -14,7 +14,7 @@ def check_blog_rss_and_send_admin_mail():
date_string = str(article["published"])
date_object = datetime.strptime(date_string, '%a, %d %b %Y %H:%M:%S %Z')
if date_object > (datetime.now() - timedelta(days=16)):
if date_object > (datetime.now() - timedelta(days=1)):
title = str(article["title"])
description = str(article["summary"])
subtitle = str(article["subtitle"])