mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-06 19:25:24 +00:00
fix: wrong datetime
This commit is contained in:
parent
6d18a3aa05
commit
7029ebc5b8
@ -48,7 +48,7 @@ def format_timestamp(timestamp):
|
||||
if isinstance(timestamp, str):
|
||||
return timestamp
|
||||
return (
|
||||
datetime.fromtimestamp(timestamp, tz=timezone.utc)
|
||||
datetime.fromtimestamp(timestamp)
|
||||
.replace(tzinfo=None)
|
||||
.isoformat()
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user