forked from indymedia/epicyon
Append seconds
parent
892700e057
commit
34618f64a9
|
@ -2559,10 +2559,6 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
if postType=='newdm':
|
||||
messageJson=None
|
||||
if '@' in fields['message']:
|
||||
if self.server.debug:
|
||||
print('DEBUG: Event Date - '+str(fields['eventDate']))
|
||||
print('DEBUG: Event Time - '+str(fields['eventTime']))
|
||||
print('DEBUG: Event Location - '+str(fields['location']))
|
||||
messageJson= \
|
||||
createDirectMessagePost(self.server.baseDir, \
|
||||
nickname, \
|
||||
|
|
2
posts.py
2
posts.py
|
@ -535,7 +535,7 @@ def createPostBase(baseDir: str,nickname: str, domain: str, port: int, \
|
|||
eventName=content
|
||||
eventDateStr=eventDate
|
||||
if eventTime:
|
||||
eventDateStr=eventDate+'T'+eventTime
|
||||
eventDateStr=eventDate+'T'+eventTime+':00Z'
|
||||
else:
|
||||
eventDateStr=eventDate+'T00:00:00Z'
|
||||
tags.append({
|
||||
|
|
Loading…
Reference in New Issue