sharing/bday: add birthday to event description

This commit is contained in:
Peter Bieringer
2026-03-21 07:31:08 +01:00
parent ea74f8e176
commit 7c50944ccc

View File

@@ -537,6 +537,7 @@ class Item:
pass
bdayS = match[1] + match[2] + match[3]
bdaySdesc = match[1] + "-" + match[2] + "-" + match[3]
bdayY = int(match[1])
bdayM = int(match[2])
bdayD = int(match[3])
@@ -594,6 +595,9 @@ class Item:
# add transparency
item_ics.vevent.add('transp').value = "TRANSPARENT"
# add description
item_ics.vevent.add('description').value = "BDAY=" + bdaySdesc
href = self.href
if href is not None:
href = href.rstrip(".vcf") + ".ics"