Removed custom date format. Use ISO string everywhere.

This commit is contained in:
Mike Cao 2024-08-13 22:16:21 -07:00
parent 0bd57bb158
commit 04de691893
7 changed files with 7 additions and 25 deletions

View file

@ -136,9 +136,9 @@ async function clickhouseQuery(data: {
...args
} = data;
const { insert } = clickhouse;
const { getDateFormat, sendMessage } = kafka;
const { sendMessage } = kafka;
const eventId = uuid();
const createdAt = getDateFormat(new Date());
const createdAt = new Date().toISOString();
const message = {
...args,