This commit is contained in:
Fyodor Alyokhin 2026-02-02 13:21:04 +01:00
parent 22e996640d
commit 75c374dedf
6 changed files with 280 additions and 17 deletions

View file

@ -4,9 +4,9 @@ import datetime
import pytz
from config.constants import TIMEZONE
def get_future_datetime(days_ahead=3, hour="13:00:00"):
def get_future_datetime(days_ahead=4, hour="13:00:00"):
dt = datetime.datetime.now(pytz.timezone(TIMEZONE)) + datetime.timedelta(days=days_ahead)
return dt.strftime(f"%Y-%m-%dT{hour}+02:00")
return dt.strftime(f"%Y-%m-%dT{hour}+01:00")
def extract_html_value(text, pattern):
match = re.search(pattern, text)