From 3ced2a2ba82ccb4d8a4123ae65342c3b66ea150f Mon Sep 17 00:00:00 2001 From: kf_wuhao <15392746632@qq.com> Date: Fri, 2 Apr 2021 20:33:18 +0800 Subject: [PATCH] update --- handler_data/ta_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler_data/ta_handler.py b/handler_data/ta_handler.py index 7c71f2c..e942185 100644 --- a/handler_data/ta_handler.py +++ b/handler_data/ta_handler.py @@ -56,7 +56,7 @@ async def to_date(request, rdb, data): :param data: :return: """ - data['#time'] = arrow.get(data['#time'], tzinfo='Asia/Shanghai').strftime('%Y-%m-%d %H:%M:%S.%f')[:-3] + data['#time'] = arrow.get(data['#time'], tzinfo='Asia/Shanghai').strftime('%Y-%m-%d %H:%M:%S') data['#event_time'] = data['#time']