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