The Fixed-term Parliaments Act 2011 is no more

This commit is contained in:
Edward Betts 2023-10-07 11:12:32 +01:00
parent 9456228895
commit ae10685399

View file

@ -36,7 +36,6 @@ warnings.simplefilter(action="ignore", category=FutureWarning)
here = dateutil.tz.tzlocal() here = dateutil.tz.tzlocal()
next_us_presidential_election = date(2024, 11, 5) 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)} xmas_last_posting_dates = {"first": date(2023, 12, 20), "second": date(2023, 12, 18)}
@ -343,7 +342,6 @@ def get_data(now: datetime) -> dict[str, str | object]:
"next_economist": next_economist(today), "next_economist": next_economist(today),
"bank_holiday": get_next_bank_holiday(today), "bank_holiday": get_next_bank_holiday(today),
"us_holiday": get_us_holidays(today), "us_holiday": get_us_holidays(today),
# "next_uk_general_election": next_uk_general_election,
"next_us_presidential_election": next_us_presidential_election, "next_us_presidential_election": next_us_presidential_election,
"stock_markets": stock_markets(), "stock_markets": stock_markets(),
"uk_clock_change": get_next_timezone_transition(now, "Europe/London"), "uk_clock_change": get_next_timezone_transition(now, "Europe/London"),