mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 14:47:14 +01:00
Fixed date value for properties.
This commit is contained in:
parent
10239fefcd
commit
5aba9acb81
3 changed files with 4 additions and 4 deletions
|
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue