From ab995ce3cfa2d87a80653f6c4d872bae4ddecbe9 Mon Sep 17 00:00:00 2001 From: wwwwwwwww <526125649@qq.com> Date: Mon, 6 Jul 2026 18:46:30 +0800 Subject: [PATCH] 1 --- video-gen-api/app/api/v1/team.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/video-gen-api/app/api/v1/team.py b/video-gen-api/app/api/v1/team.py index e37fc4a1..d4dffe61 100644 --- a/video-gen-api/app/api/v1/team.py +++ b/video-gen-api/app/api/v1/team.py @@ -351,9 +351,8 @@ async def export_team_credit_records( def _format_dt(val): if val is None: return "-" - if isinstance(val, datetime): - return val.strftime("%Y-%m-%d %H:%M:%S") - return str(val) + + return str(datetime.fromtimestamp(val).strftime("%Y-%m-%d %H:%M:%S")) output = io.StringIO() writer = csv.writer(output)