Scheduled posts are not calendar posts

merge-requests/30/head
Bob Mottram 2020-01-12 13:19:03 +00:00
parent a2e083c7a1
commit 768d8fff4e
1 changed files with 3 additions and 2 deletions

View File

@ -577,6 +577,7 @@ def createPostBase(baseDir: str,nickname: str,domain: str,port: int, \
eventDateStr=eventDate+'T'+eventTime+':00'+strftime("%z", gmtime())
else:
eventDateStr=eventDate+'T12:00:00Z'
if not schedulePost:
tags.append({
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Event",