Browse Source

fix(nc-gui): check undefined or null instead for boolean case

pull/4644/head
Wing-Kam Wong 2 years ago
parent
commit
5c19bd3c9a
  1. 2
      packages/nc-gui/utils/dateTimeUtils.ts

2
packages/nc-gui/utils/dateTimeUtils.ts

@ -17,7 +17,7 @@ export const dateFormats = [
]
export const handleTZ = (val: any) => {
if (!val) {
if (val === undefined || val === null) {
return
}
if (typeof val !== 'string') {

Loading…
Cancel
Save