mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 07:07:17 +01:00
Fixed triggered event lookup. Closes #3742.
This commit is contained in:
parent
cc8254985b
commit
cb63e49a9b
4 changed files with 16 additions and 9 deletions
|
|
@ -369,3 +369,7 @@ export function getDateRangeValue(startDate: Date, endDate: Date) {
|
|||
export function getMonthDateRangeValue(date: Date) {
|
||||
return getDateRangeValue(startOfMonth(date), endOfMonth(date));
|
||||
}
|
||||
|
||||
export function isInvalidDate(date: any) {
|
||||
return date instanceof Date && isNaN(date.getTime());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue