sharing/bday: option for age_max
This commit is contained in:
@@ -2349,6 +2349,14 @@ Supported format for `TIMEDELTA`: `[+-]?[0-9]+[WDHM]`
|
|||||||
|
|
||||||
Supported placeholders for `DESCRIPTION` see `conversion_bday_summary_template`
|
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
|
## Supported Clients
|
||||||
|
|
||||||
Radicale has been tested with:
|
Radicale has been tested with:
|
||||||
|
|||||||
5
config
5
config
@@ -366,6 +366,11 @@
|
|||||||
# Example: "-15H;BDAY tomorrow|9H;BDAY today"
|
# Example: "-15H;BDAY tomorrow|9H;BDAY today"
|
||||||
#conversion_bday_alarm_trigger_template = ""
|
#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]
|
||||||
|
|
||||||
# Web interface backend
|
# Web interface backend
|
||||||
|
|||||||
@@ -606,6 +606,10 @@ DEFAULT_CONFIG_SCHEMA: types.CONFIG_SCHEMA = OrderedDict([
|
|||||||
"value": "",
|
"value": "",
|
||||||
"help": "conversion bday alarm trigger template",
|
"help": "conversion bday alarm trigger template",
|
||||||
"type": str}),
|
"type": str}),
|
||||||
|
("conversion_bday_age_max", {
|
||||||
|
"value": 99,
|
||||||
|
"help": "conversion bday age max",
|
||||||
|
"type": positive_int}),
|
||||||
])),
|
])),
|
||||||
("hook", OrderedDict([
|
("hook", OrderedDict([
|
||||||
("type", {
|
("type", {
|
||||||
|
|||||||
Reference in New Issue
Block a user