From c795d4b39ce86ad9b502044d96df9392c0c7dca7 Mon Sep 17 00:00:00 2001
From: zhaoqingang <zhaoqg0118@163.com>
Date: 星期一, 25 十一月 2024 17:39:56 +0800
Subject: [PATCH] ragflow和bisheng的会话时间统一

---
 app/service/ragflow.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/app/service/ragflow.py b/app/service/ragflow.py
index 7517591..7dfa3bb 100644
--- a/app/service/ragflow.py
+++ b/app/service/ragflow.py
@@ -100,7 +100,7 @@
                     "id": item["id"],
                     "name": item["name"],
                     "updated_time": item["update_time"],
-                    "update_date": datetime.utcfromtimestamp(item["update_time"] / 1000.0).strftime('%Y-%m-%d %H:%M:%S')
+                    "update_date": datetime.fromtimestamp(item["update_time"] / 1000.0).strftime('%Y-%m-%d %H:%M:%S')
                 }
                 for item in data
                 if "id" in item and "name" in item and item["name"]

--
Gitblit v1.8.0