Fixed triggered event lookup. Closes #3742.

This commit is contained in:
Mike Cao 2025-11-14 15:42:23 -08:00
parent cc8254985b
commit cb63e49a9b
4 changed files with 16 additions and 9 deletions

View file

@ -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());
}