Commit 67de1e49 by Arjun Jhukal

updated the date format

parent 2cd4c5c2
......@@ -17,7 +17,6 @@ export const SeonProvider: React.FC<{ children: React.ReactNode }> = ({ children
useEffect(() => {
seon.init({
behavioralDataCollection: {
targets: 'input[type="text"], .behavior',
......
......@@ -121,7 +121,7 @@ export default function RegisterPage() {
initialValues,
validationSchema,
onSubmit: async (values) => {
const formattedDob = values.dob ? dayjs(values.dob).format('MM-DD-YYYY') : '';
const formattedDob = values.dob ? dayjs(values.dob).format('YYYY-MM-DD') : '';
try {
const response = await registerUser({
email: values.emailAddress,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment