We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1798dbd commit 55ffef5Copy full SHA for 55ffef5
client/packages/lowcoder/src/comps/comps/tableComp/column/columnTypeComps/columnDateComp.tsx
@@ -127,7 +127,7 @@ const Wrapper = styled.div`
127
128
export function formatDate(date: string, format: string) {
129
let mom = dayjs(date);
130
- if (isNumber(Number(date)) && date !== "") {
+ if (isNumber(Number(date)) && !isNaN(Number(date)) && date !== "") {
131
mom = dayjs(Number(date));
132
}
133
if (!mom.isValid()) {
0 commit comments