Switched to keeping time with UTC for easier timezones

Removed useless JS
This commit is contained in:
Michał Gdula 2023-03-08 21:58:58 +00:00
parent 56c82513ba
commit b5bc0ec50c
5 changed files with 21 additions and 27 deletions

View file

@ -143,7 +143,7 @@ def upload():
# Save to database
try:
query = db.Posts(author_id = g.user.id,
created_at = dt.now(),
created_at = dt.utcnow(),
file_name = img_name+'.'+img_ext,
file_type = img_ext,
image_exif = img_exif,