Always record string.

This commit is contained in:
Brian Cao committed 2023-07-10 15:30:34 -07:00
1 parent 9ec2701228
commit 1bdaf4aca2
2 files changed
+5 -14

No files matched your search

+2 -2
View File
@@ -61,8 +61,8 @@ async function getProducer(): Promise<Producer> {
return producer;
}
function getDateFormat(date): string {
return dateFormat(date, 'UTC:yyyy-mm-dd HH:MM:ss');
function getDateFormat(date, format?): string {
return dateFormat(date, format ? format : 'UTC:yyyy-mm-dd HH:MM:ss');
}
async function sendMessage(