From b3f2a773635f7e54d9c95d46b3f571d0b2f98d37 Mon Sep 17 00:00:00 2001 From: Rama Priyanto Date: Mon, 3 Mar 2025 09:43:34 +0700 Subject: [PATCH] fix create time --- components/form/article/edit-article-form.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/form/article/edit-article-form.tsx b/components/form/article/edit-article-form.tsx index 97c97b2..5e93550 100644 --- a/components/form/article/edit-article-form.tsx +++ b/components/form/article/edit-article-form.tsx @@ -246,6 +246,7 @@ export default function EditArticleForm(props: { isDetail: boolean }) { tags: values.tags.join(","), description: htmlToString(values.description), htmlDescription: values.description, + createdAt: `${startDateValue} ${timeValue}:00`, }; const response = await updateArticle(String(id), formData);