delete unused xmas_day event
This commit is contained in:
parent
ae10685399
commit
2a12e14e89
|
@ -194,11 +194,6 @@ def next_economist(input_date: date) -> date:
|
||||||
return next_thursday_date
|
return next_thursday_date
|
||||||
|
|
||||||
|
|
||||||
def xmas_day(input_date: date) -> date:
|
|
||||||
"""Christmas day."""
|
|
||||||
return date(input_date.year, 12, 25)
|
|
||||||
|
|
||||||
|
|
||||||
def uk_financial_year_end(input_date: date) -> date:
|
def uk_financial_year_end(input_date: date) -> date:
|
||||||
"""Next date of the end of the UK financial year, April 5th."""
|
"""Next date of the end of the UK financial year, April 5th."""
|
||||||
# Determine the year of the input date
|
# Determine the year of the input date
|
||||||
|
@ -350,7 +345,6 @@ def get_data(now: datetime) -> dict[str, str | object]:
|
||||||
"fathers_day": next_uk_fathers_day(today),
|
"fathers_day": next_uk_fathers_day(today),
|
||||||
"uk_financial_year_end": uk_financial_year_end(today),
|
"uk_financial_year_end": uk_financial_year_end(today),
|
||||||
"xmas_last_posting_dates": xmas_last_posting_dates,
|
"xmas_last_posting_dates": xmas_last_posting_dates,
|
||||||
# "xmas_day": xmas_day(today),
|
|
||||||
"rockets": thespacedevs.get_launches(rocket_dir, limit=40),
|
"rockets": thespacedevs.get_launches(rocket_dir, limit=40),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue