parent
760ebc6980
commit
c1364482fe
2 changed files with 12 additions and 0 deletions
|
|
@ -38,6 +38,8 @@ now_utc = datetime.now(timezone.utc)
|
|||
next_us_presidential_election = date(2024, 11, 5)
|
||||
next_uk_general_election = date(2024, 5, 2)
|
||||
|
||||
xmas_last_posting_dates = {"first": date(2023, 12, 20), "second": date(2023, 12, 18)}
|
||||
|
||||
config_filename = os.path.join(os.path.dirname(__file__), "..", "config")
|
||||
|
||||
assert os.path.exists(config_filename)
|
||||
|
|
@ -276,6 +278,7 @@ def get_data() -> dict[str, str | object]:
|
|||
"mothers_day": next_uk_mothers_day(today),
|
||||
"fathers_day": next_uk_fathers_day(today),
|
||||
"uk_financial_year_end": uk_financial_year_end(today),
|
||||
"xmas_last_posting_dates": xmas_last_posting_dates,
|
||||
}
|
||||
|
||||
return reply
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue