forked from indymedia/epicyon
Timestamp queue items
parent
640cf71416
commit
0286de6cd1
3
inbox.py
3
inbox.py
|
@ -63,7 +63,10 @@ def savePostToInboxQueue(baseDir: str,httpPrefix: str,keyId: str,nickname: str,
|
||||||
return None
|
return None
|
||||||
postId=postJson['id'].replace('/activity','')
|
postId=postJson['id'].replace('/activity','')
|
||||||
|
|
||||||
|
currTime=datetime.datetime.utcnow()
|
||||||
|
published=currTime.strftime("%Y-%m-%dT%H:%M:%SZ")
|
||||||
newBufferItem = {
|
newBufferItem = {
|
||||||
|
'published': published,
|
||||||
'keyId': keyid,
|
'keyId': keyid,
|
||||||
'post': postJson
|
'post': postJson
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue