diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 2e6fccbd..f9a51a04 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -2311,7 +2311,7 @@ _(>= 3.7.5)_ Global template for summary of conversion "bday" -Default: `"{{n:f} {n:g} {n:a}|{fn}|{nickname}} (BDAY)"` +Default: `"{{n:f} {n:g}|{fn}|{nickname}} ({year}) (BDAY)"` Supported placeholders (data used from VCARD) * `{year}`: year of birthday (RFC6350#6.2.5) diff --git a/config b/config index 1876b629..4e9a5255 100644 --- a/config +++ b/config @@ -357,7 +357,7 @@ #default_permissions_create_map = r # Global template for summary of conversion "bday" -#conversion_bday_summary_template = "[{n:f} {n:g} {n:a}|{fn}|{nickname}] (BDAY)" +#conversion_bday_summary_template = "[{n:f} {n:g} |{fn}|{nickname}] ({year}) (BDAY)" # Global template for description of conversion "bday" #conversion_bday_description_template = "BDAY={year}-{month}-{day}" diff --git a/radicale/sharing/__init__.py b/radicale/sharing/__init__.py index d2eb90dc..7c5d5339 100644 --- a/radicale/sharing/__init__.py +++ b/radicale/sharing/__init__.py @@ -125,7 +125,7 @@ OVERLAY_PROPERTIES_WHITELIST: Sequence[str] = ("C:calendar-description", "ICAL:c SHARING_BDAY_AGE_MAX_LIMIT: int = 199 # maximum age to prevent unexpected DoS by config SHARING_BDAY_AGE_MAX_DEFAULT: int = 99 -SHARING_BDAY_SUMMARY_TEMPLATE_DEFAULT: str = "[{n:f} {n:g} {n:a}|{fn}|{nickname}] ({year}) (BDAY)" +SHARING_BDAY_SUMMARY_TEMPLATE_DEFAULT: str = "[{n:f} {n:g}|{fn}|{nickname}] ({year}) (BDAY)" SHARING_BDAY_DESCRIPTION_TEMPLATE_DEFAULT: str = "BDAY={year}-{month}-{day}" SHARING_BDAY_CATEGORIES_DEFAULT: str = 'Birthday'