forked from indymedia/epicyon
Scheduled posts are not calendar posts
parent
a2e083c7a1
commit
768d8fff4e
5
posts.py
5
posts.py
|
@ -577,13 +577,14 @@ def createPostBase(baseDir: str,nickname: str,domain: str,port: int, \
|
|||
eventDateStr=eventDate+'T'+eventTime+':00'+strftime("%z", gmtime())
|
||||
else:
|
||||
eventDateStr=eventDate+'T12:00:00Z'
|
||||
tags.append({
|
||||
if not schedulePost:
|
||||
tags.append({
|
||||
"@context": "https://www.w3.org/ns/activitystreams",
|
||||
"type": "Event",
|
||||
"name": eventName,
|
||||
"startTime": eventDateStr,
|
||||
"endTime": eventDateStr
|
||||
})
|
||||
})
|
||||
if location:
|
||||
tags.append({
|
||||
"@context": "https://www.w3.org/ns/activitystreams",
|
||||
|
|
Loading…
Reference in New Issue