From 7029ebc5b8cbefd908b4da19e83463f2fb2ab6c7 Mon Sep 17 00:00:00 2001 From: arkohut <39525455+arkohut@users.noreply.github.com> Date: Mon, 29 Jul 2024 16:39:31 +0800 Subject: [PATCH] fix: wrong datetime --- memos/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memos/commands.py b/memos/commands.py index ddc1e99..8781315 100644 --- a/memos/commands.py +++ b/memos/commands.py @@ -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() )