diff --git a/packages/nc-gui/components/cell/DateTimePicker.vue b/packages/nc-gui/components/cell/DateTimePicker.vue index 2a5ff5fd88..1395d909b7 100644 --- a/packages/nc-gui/components/cell/DateTimePicker.vue +++ b/packages/nc-gui/components/cell/DateTimePicker.vue @@ -71,7 +71,7 @@ let localState = $computed({ // if cdf is defined, that means the value is auto-generated // hence, show the local time if (column?.value?.cdf) { - return dayjs(modelValue).utc(true).local() + return dayjs(modelValue).utc(isMysql(column.value.base_id)).local() } // cater copy and paste