fix: ES 同步接口时间精确到秒
This commit is contained in:
@@ -28,7 +28,7 @@ class ESInterval(pydantic.BaseModel):
|
||||
|
||||
|
||||
def format_datetime(dt: datetime.datetime) -> str:
|
||||
return dt.strftime("%Y%m%d%H")
|
||||
return dt.strftime("%Y%m%d%H%M%S")
|
||||
|
||||
|
||||
def parse_unixtime(unixtime: int) -> datetime.datetime:
|
||||
|
||||
Reference in New Issue
Block a user