Fixing all day events
This commit is contained in:
@@ -57,7 +57,11 @@ apptxt = ""
|
||||
for event in appointments:
|
||||
#start = event["start"].get("dateTime", event["start"].get("date"))
|
||||
#apptxt+= start+": "+event["summary"]+" (from "+event["calendarname"]+")\n"
|
||||
apptxt+= event["prettytime"]+": "+event["summary"]+" (from "+event["calendarname"]+")\n"
|
||||
if event["prettytime"]:
|
||||
apptxt+= event["prettytime"]+": "+event["summary"]+" (from "+event["calendarname"]+")\n"
|
||||
else:
|
||||
apptxt+= event["summary"]+" (from "+event["calendarname"]+")\n"
|
||||
|
||||
row = WriteTextBlock("Appointments",d,fntBold,MarginLeft,row,"la")
|
||||
row = WriteTextBlock(apptxt,d,fnt,MarginIndent,row,"la")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user