sharing/bday/summary template: adjust default

This commit is contained in:
Peter Bieringer
2026-05-31 07:25:51 +02:00
parent 07c5873bdd
commit 8a28141c3e
3 changed files with 3 additions and 3 deletions

View File

@@ -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)

2
config
View File

@@ -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}"

View File

@@ -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'