sharing/bday: option for age_max

This commit is contained in:
Peter Bieringer
2026-05-30 08:46:04 +02:00
parent 5477d6b2da
commit 586ae79b8e
3 changed files with 17 additions and 0 deletions

View File

@@ -2349,6 +2349,14 @@ Supported format for `TIMEDELTA`: `[+-]?[0-9]+[WDHM]`
Supported placeholders for `DESCRIPTION` see `conversion_bday_summary_template`
##### conversion_bday_age_max
_(>= 3.7.5)_
Global max limit of "bday" age, only active in case of `{age}` is used as placeholder
Default: `99`
## Supported Clients
Radicale has been tested with:

5
config
View File

@@ -366,6 +366,11 @@
# Example: "-15H;BDAY tomorrow|9H;BDAY today"
#conversion_bday_alarm_trigger_template = ""
# Global max limit of "bday" age
# Only active in case of {age} is used as placeholder
#conversion_bday_age_max = 99
[web]
# Web interface backend

View File

@@ -606,6 +606,10 @@ DEFAULT_CONFIG_SCHEMA: types.CONFIG_SCHEMA = OrderedDict([
"value": "",
"help": "conversion bday alarm trigger template",
"type": str}),
("conversion_bday_age_max", {
"value": 99,
"help": "conversion bday age max",
"type": positive_int}),
])),
("hook", OrderedDict([
("type", {