sharing/bday/template: change trigger separator

This commit is contained in:
Peter Bieringer
2026-06-11 08:51:54 +02:00
parent dffc02b4c4
commit 2c198da3fc
4 changed files with 5 additions and 5 deletions

View File

@@ -5020,7 +5020,7 @@ permissions: RrWw""")
self.configure({"sharing": {
"conversion_bday_summary_template": "[{fn}|{n:f} {n:g} {n:a}|{nickname}] (BDAY)",
"conversion_bday_description_template": "BDAY={year}-{month}-{day}",
"conversion_bday_alarm_trigger_template": "-15H;BDAY tomorrow|9H;BDAY today",
"conversion_bday_alarm_trigger_template": "-15H;BDAY tomorrow$9H;BDAY today",
}})
# verify content as user
@@ -5083,7 +5083,7 @@ permissions: RrWw""")
assert "TRIGGER:-PT15H" in answer
assert "TRIGGER:PT9H" in answer
self.configure({"sharing": {"conversion_bday_alarm_trigger_template": "-12H;Birthday tomorrow of {fn}|12H;Birthday today of {n:g} {n:f}"}})
self.configure({"sharing": {"conversion_bday_alarm_trigger_template": "-12H;Birthday tomorrow of {fn}$12H;Birthday today of {n:g} {n:f}"}})
logging.info("\n*** GET collection user format: description -> ok")
_, headers, answer = self.request("GET", path_shared_3, login="user:userpw")
assert "DESCRIPTION:Birthday tomorrow of Test-FN-C3" in answer