lol
This commit is contained in:
parent
22e996640d
commit
75c374dedf
6 changed files with 280 additions and 17 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue