master
Aevann1 2022-03-20 00:35:46 +02:00
parent 1e31baf0cf
commit c0509d0d31
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
from time import gmtime, strftime
import time
from files.helpers.wrappers import auth_required
from files.helpers.sanitize import sanitize
from datetime import datetime
@ -24,7 +24,7 @@ def speak(data, v):
"avatar": v.profile_url,
"username":v.username,
"text":text,
"time": strftime("%d %b %Y at %H:%M:%S", gmtime(int(time.time()))),
"time": time.strftime("%d %b %Y at %H:%M:%S", time.gmtime(int(time.time()))),
"userlink":v.url
}