Display full datetime using system timezone

When displaying a full datetime to the user use the system timezone instead of hardcoded UTC
This commit is contained in:
FoxxMD 2020-11-30 14:02:03 -05:00
parent 4304aab8b7
commit c87dc32455
1 changed files with 1 additions and 1 deletions

View File

@ -545,7 +545,7 @@ def timestamp_desc(t,short=False):
return timeobject.strftime("%Y")
else:
timeobject = datetime.datetime.utcfromtimestamp(t)
timeobject = datetime.datetime.fromtimestamp(t)
return timeobject.strftime("%d. %b %Y %I:%M %p")