mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 05:35:25 +03:00
Ensure it works when selecting dates
This commit is contained in:
parent
c2498f4aca
commit
c9050b5494
@ -169,7 +169,7 @@ export default function Events() {
|
||||
const startDate = new Date(selectedTimeRange.after * 1000);
|
||||
startDate.setMinutes(0, 0, 0);
|
||||
|
||||
const endDate = new Date();
|
||||
const endDate = new Date(selectedTimeRange.before * 1000);
|
||||
endDate.setHours(endDate.getHours() + 1, 0, 0, 0);
|
||||
|
||||
return {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user