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