diff --git a/src/qqq/utils/QValueUtils.ts b/src/qqq/utils/QValueUtils.ts index 94aa07e..00bdb87 100644 --- a/src/qqq/utils/QValueUtils.ts +++ b/src/qqq/utils/QValueUtils.ts @@ -38,6 +38,10 @@ class QValueUtils if (field.type === QFieldType.DATE_TIME) { + if (!rawValue) + { + return (""); + } const date = new Date(rawValue); // @ts-ignore return (`${date.toString("yyyy-MM-dd hh:mm:ss")} ${date.getHours() < 12 ? "AM" : "PM"} ${date.getTimezone()}`);