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

pull/13504/head
Xin Zhang 1 year ago committed by GitHub
parent f48fa3e4e8
commit 0957119550
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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 {

Loading…
Cancel
Save