This commit is contained in:
2026-07-06 18:46:30 +08:00
parent 32688ab52c
commit ab995ce3cf
+2 -3
View File
@@ -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)