mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Switched to keeping time with UTC for easier timezones
Removed useless JS
This commit is contained in:
parent
56c82513ba
commit
b5bc0ec50c
5 changed files with 21 additions and 27 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue