mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-08 04:05:23 +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):
|
if isinstance(timestamp, str):
|
||||||
return timestamp
|
return timestamp
|
||||||
return (
|
return (
|
||||||
datetime.fromtimestamp(timestamp, tz=timezone.utc)
|
datetime.fromtimestamp(timestamp)
|
||||||
.replace(tzinfo=None)
|
.replace(tzinfo=None)
|
||||||
.isoformat()
|
.isoformat()
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user