Audit log table and modal

This commit is contained in:
Jamie Curnow
2025-09-14 14:00:00 +10:00
parent 8ad95c5695
commit 429046f32e
24 changed files with 425 additions and 12 deletions

View File

@@ -1,5 +1,4 @@
import { intlFormat, parseISO } from "date-fns";
import { intl } from "src/locale";
import { DateTimeFormat, intl } from "src/locale";
interface Props {
domains: string[];
@@ -17,7 +16,7 @@ export function DomainsFormatter({ domains, createdOn }: Props) {
</div>
{createdOn ? (
<div className="text-secondary mt-1">
{intl.formatMessage({ id: "created-on" }, { date: intlFormat(parseISO(createdOn)) })}
{intl.formatMessage({ id: "created-on" }, { date: DateTimeFormat(createdOn) })}
</div>
) : null}
</div>