diff --git a/utils.ts b/utils.ts index edacc27..0a8dcb6 100644 --- a/utils.ts +++ b/utils.ts @@ -1,4 +1,4 @@ -import { Login } from "@/types.ts" +import { Login } from '@/types.ts' export function toLogin({ firstname, @@ -23,7 +23,6 @@ function sanitizeChar(char: string): string { export const regex = { uuidV4: /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/, - isoDateString: - /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+Z$/, + isoDateString: /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+Z$/, mailAddress: /\S+@\S+\.\S+/, }