fix create time

This commit is contained in:
Rama Priyanto 2025-03-03 09:43:34 +07:00
parent 60140c5132
commit b3f2a77363
1 changed files with 1 additions and 0 deletions

View File

@ -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);