chinese
This commit is contained in:
parent
83b9fdbf9e
commit
7882f77bef
@ -217,7 +217,7 @@ class StarRocksMetricsService:
|
||||
if isinstance(date_value, str):
|
||||
date_str = date_value
|
||||
else:
|
||||
# 如果是datetime对象,格式化为字符串
|
||||
# If it's a datetime object, format it as a string
|
||||
if hasattr(date_value, 'strftime'):
|
||||
date_str = date_value.strftime('%Y-%m-%d %H:%M:%S')
|
||||
else:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user