sharing/bday/summary template: adjust default
This commit is contained in:
@@ -2311,7 +2311,7 @@ _(>= 3.7.5)_
|
|||||||
|
|
||||||
Global template for summary of conversion "bday"
|
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)
|
Supported placeholders (data used from VCARD)
|
||||||
* `{year}`: year of birthday (RFC6350#6.2.5)
|
* `{year}`: year of birthday (RFC6350#6.2.5)
|
||||||
|
|||||||
2
config
2
config
@@ -357,7 +357,7 @@
|
|||||||
#default_permissions_create_map = r
|
#default_permissions_create_map = r
|
||||||
|
|
||||||
# Global template for summary of conversion "bday"
|
# 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"
|
# Global template for description of conversion "bday"
|
||||||
#conversion_bday_description_template = "BDAY={year}-{month}-{day}"
|
#conversion_bday_description_template = "BDAY={year}-{month}-{day}"
|
||||||
|
|||||||
@@ -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_LIMIT: int = 199 # maximum age to prevent unexpected DoS by config
|
||||||
SHARING_BDAY_AGE_MAX_DEFAULT: int = 99
|
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_DESCRIPTION_TEMPLATE_DEFAULT: str = "BDAY={year}-{month}-{day}"
|
||||||
SHARING_BDAY_CATEGORIES_DEFAULT: str = 'Birthday'
|
SHARING_BDAY_CATEGORIES_DEFAULT: str = 'Birthday'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user