fix(audit): change dd-mm-yy to mm-dd-yy

This commit is contained in:
Mahyar Mirrashed
2025-03-10 11:16:19 -07:00
parent 3b95c5d859
commit 4eff7d8ea5

View File

@@ -83,7 +83,7 @@ export const LogsTableRow = ({ auditLog, isOrgAuditLogs, showActorColumn }: Prop
hours %= 12;
hours = hours || 12; // the hour '0' should be '12'
const formattedDate = `${day}-${month}-${year} at ${hours}:${minutes} ${period}`;
const formattedDate = `${month}-${day}-${year} at ${hours}:${minutes} ${period}`;
return formattedDate;
};