sharing/bday: add birthday to event description
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user