fix: update UTC time format for consistency (#13471)

This commit is contained in:
Xin Zhang 2025-02-10 19:37:50 +08:00 committed by GitHub
parent f48fa3e4e8
commit 0957119550
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,8 +50,8 @@ class EnterpriseWorkspaceNoOwnerEmail(Resource):
"plan": tenant.plan, "plan": tenant.plan,
"status": tenant.status, "status": tenant.status,
"custom_config": json.loads(tenant.custom_config) if tenant.custom_config else {}, "custom_config": json.loads(tenant.custom_config) if tenant.custom_config else {},
"created_at": tenant.created_at.isoformat() if tenant.created_at else None, "created_at": tenant.created_at.isoformat() + "Z" if tenant.created_at else None,
"updated_at": tenant.updated_at.isoformat() if tenant.updated_at else None, "updated_at": tenant.updated_at.isoformat() + "Z" if tenant.updated_at else None,
} }
return { return {