Fixed date value for properties.

This commit is contained in:
Mike Cao committed 2024-08-20 00:34:01 -07:00
1 parent 10239fefcd
commit 5aba9acb81
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ function getClient() {
return client;
}
function getUTCString(date?: Date) {
function getUTCString(date?: Date | string | number) {
return formatInTimeZone(date || new Date(), 'UTC', 'yyyy-MM-dd HH:mm:ss');
}