From a8fdca1138874f217b1403dd2d072a1f3941e778 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 13 Mar 2025 15:18:54 +0700 Subject: [PATCH] =?UTF-8?q?fix=20convertDateToAPI=20=E0=B9=82=E0=B8=84?= =?UTF-8?q?=E0=B8=A3=E0=B8=87=E0=B8=AA=E0=B8=A3=E0=B9=89=E0=B8=B2=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/02_organization/components/DialogFormDateTime.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/02_organization/components/DialogFormDateTime.vue b/src/modules/02_organization/components/DialogFormDateTime.vue index 5f1df9098..5b585227c 100644 --- a/src/modules/02_organization/components/DialogFormDateTime.vue +++ b/src/modules/02_organization/components/DialogFormDateTime.vue @@ -18,6 +18,7 @@ const { hideLoader, messageError, success, + convertDateToAPI, } = useCounterMixin(); /** @@ -52,7 +53,7 @@ function onSubmit() { showLoader(); http .put(config.API.orgSetDateTime(store.draftId as string), { - orgPublishDate: dateTime.value, + orgPublishDate: convertDateToAPI(dateTime.value), }) .then(async () => { await props.fetchActive();