mirror of https://gitlab.com/bashrc2/epicyon
Scheduled posts are not calendar posts
parent
a2e083c7a1
commit
768d8fff4e
1
posts.py
1
posts.py
|
@ -577,6 +577,7 @@ def createPostBase(baseDir: str,nickname: str,domain: str,port: int, \
|
||||||
eventDateStr=eventDate+'T'+eventTime+':00'+strftime("%z", gmtime())
|
eventDateStr=eventDate+'T'+eventTime+':00'+strftime("%z", gmtime())
|
||||||
else:
|
else:
|
||||||
eventDateStr=eventDate+'T12:00:00Z'
|
eventDateStr=eventDate+'T12:00:00Z'
|
||||||
|
if not schedulePost:
|
||||||
tags.append({
|
tags.append({
|
||||||
"@context": "https://www.w3.org/ns/activitystreams",
|
"@context": "https://www.w3.org/ns/activitystreams",
|
||||||
"type": "Event",
|
"type": "Event",
|
||||||
|
|
Loading…
Reference in New Issue