diff --git a/components/form/article/create-article-form.tsx b/components/form/article/create-article-form.tsx index a8fbe78..d920ed7 100644 --- a/components/form/article/create-article-form.tsx +++ b/components/form/article/create-article-form.tsx @@ -854,7 +854,7 @@ export default function CreateArticleForm() { variant="outline" > {startDateValue - ? startDateValue.toISOString().split("T")[0] + ? startDateValue.toLocaleDateString("en-CA") : "-"} diff --git a/components/form/article/edit-article-form.tsx b/components/form/article/edit-article-form.tsx index c3d7cf9..927c880 100644 --- a/components/form/article/edit-article-form.tsx +++ b/components/form/article/edit-article-form.tsx @@ -1070,7 +1070,7 @@ export default function EditArticleForm(props: { isDetail: boolean }) { variant="outline" > {startDateValue - ? startDateValue.toISOString().split("T")[0] + ? startDateValue.toLocaleDateString("en-CA") : "-"}