mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 20:15:41 +01:00
update data format
This commit is contained in:
parent
d2658458aa
commit
3076729d7a
5 changed files with 6 additions and 5 deletions
|
|
@ -75,7 +75,7 @@ async function clickhouseQuery(data: {
|
|||
string_value: getStringValue(value, dataType),
|
||||
number_value: dataType === DATA_TYPE.number ? value : null,
|
||||
date_value: dataType === DATA_TYPE.date ? getDateFormat(value) : null,
|
||||
created_at: createdAt,
|
||||
created_at: createdAt ?? getDateFormat(new Date()),
|
||||
};
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ async function clickhouseQuery(data: {
|
|||
string_value: getStringValue(value, dataType),
|
||||
number_value: dataType === DATA_TYPE.number ? value : null,
|
||||
date_value: dataType === DATA_TYPE.date ? getDateFormat(value) : null,
|
||||
created_at: createdAt,
|
||||
created_at: createdAt ?? getDateFormat(new Date()),
|
||||
};
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue