Content-Length: 259315 | pFad | http://github.com/lowcoder-org/lowcoder/commit/55ffef580fe32516d5fcc4e67cf1900e7a1f2242

6A fixed datatime column editing issue in table · lowcoder-org/lowcoder@55ffef5 · GitHub
Skip to content

Commit 55ffef5

Browse files
fixed datatime column editing issue in table
1 parent 1798dbd commit 55ffef5

File tree

1 file changed

+1
-1
lines changed
  • client/packages/lowcoder/src/comps/comps/tableComp/column/columnTypeComps

1 file changed

+1
-1
lines changed

client/packages/lowcoder/src/comps/comps/tableComp/column/columnTypeComps/columnDateComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const Wrapper = styled.div`
127127

128128
export function formatDate(date: string, format: string) {
129129
let mom = dayjs(date);
130-
if (isNumber(Number(date)) && date !== "") {
130+
if (isNumber(Number(date)) && !isNaN(Number(date)) && date !== "") {
131131
mom = dayjs(Number(date));
132132
}
133133
if (!mom.isValid()) {

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/lowcoder-org/lowcoder/commit/55ffef580fe32516d5fcc4e67cf1900e7a1f2242

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy