forked from indymedia/epicyon
Check for ending of time
parent
34618f64a9
commit
65b8a744d1
3
posts.py
3
posts.py
|
@ -535,6 +535,9 @@ def createPostBase(baseDir: str,nickname: str, domain: str, port: int, \
|
|||
eventName=content
|
||||
eventDateStr=eventDate
|
||||
if eventTime:
|
||||
if eventTime.endswith('Z'):
|
||||
eventDateStr=eventDate+'T'+eventTime
|
||||
else:
|
||||
eventDateStr=eventDate+'T'+eventTime+':00Z'
|
||||
else:
|
||||
eventDateStr=eventDate+'T00:00:00Z'
|
||||
|
|
Loading…
Reference in New Issue