Add emoji

This commit is contained in:
Edward Betts 2023-11-25 09:52:11 +00:00
parent ec0f2cce7e
commit afd538d362
2 changed files with 1 additions and 3 deletions

View file

@ -19,7 +19,7 @@ def renewal_dates(data_dir: str) -> list[Event]:
return [ return [
Event( Event(
name="domain", name="domain",
title=row["fqdn"], title="🌐 " + row["fqdn"],
date=datetime.fromisoformat(row["date_registry_end_utc"][:10]).date(), date=datetime.fromisoformat(row["date_registry_end_utc"][:10]).date(),
url=url + row["fqdn"], url=url + row["fqdn"],
) )

View file

@ -7,8 +7,6 @@ from dateutil.relativedelta import TH, relativedelta
from . import uk_time from . import uk_time
from .types import Event from .types import Event
# emoji: 📰
def publication_dates(start_date: date, end_date: date) -> list[Event]: def publication_dates(start_date: date, end_date: date) -> list[Event]:
"""List of Economist publication dates.""" """List of Economist publication dates."""