Browse Source

fix: Invalid Date error format in calendar view (#9809)

pull/9816/head
Anbarasu 2 weeks ago committed by GitHub
parent
commit
06d9e94de9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      packages/nc-gui/components/smartsheet/PlainCell.vue

2
packages/nc-gui/components/smartsheet/PlainCell.vue

@ -94,7 +94,7 @@ const getDateTimeValue = (modelValue: string | null, col: ColumnType) => {
const isXcDB = isXcdbBase(col.source_id)
if (!isXcDB) {
return dayjs(/^\d+$/.test(modelValue) ? +modelValue : modelValue, dateTimeFormat).format(dateTimeFormat)
return dayjs(/^\d+$/.test(modelValue) ? +modelValue : modelValue).format(dateTimeFormat)
}
if (isMssql(col.source_id)) {

Loading…
Cancel
Save