diff --git a/agenda/data.py b/agenda/data.py index 21a3d16..d9efcef 100644 --- a/agenda/data.py +++ b/agenda/data.py @@ -39,6 +39,7 @@ from . import ( ) from .types import Event, StrDict, Trip + here = dateutil.tz.tzlocal() # deadline to file tax return @@ -266,11 +267,7 @@ def busy_event(e: Event) -> bool: return False lc_title = e.title.lower() - return ( - "rebels" not in lc_title - and "south west data social" not in lc_title - and "dorkbot" not in lc_title - ) + return "rebels" not in lc_title and "south west data social" not in lc_title async def time_function( diff --git a/agenda/gandi.py b/agenda/gandi.py index d833472..b5e60e1 100644 --- a/agenda/gandi.py +++ b/agenda/gandi.py @@ -2,7 +2,6 @@ import os from .types import Event -from datetime import datetime import json @@ -19,7 +18,7 @@ def get_events(data_dir: str) -> list[Event]: return [ Event( - date=datetime.fromisoformat(item["dates"]["registry_ends_at"]).date(), + date=item["dates"]["registry_ends_at"], name="domain", title=item["fqdn"] + " renewal", ) diff --git a/update.py b/update.py index 24c0976..75d75d6 100755 --- a/update.py +++ b/update.py @@ -131,7 +131,6 @@ def main() -> None: asyncio.run(update_bank_holidays()) asyncio.run(update_bristol_bins()) update_gwr_advance_ticket_date() - update_gandi() update_thespacedevs()