mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 04:57:42 +03:00
use correct time in custom export time picker
This commit is contained in:
parent
08c087f221
commit
fba2851a43
@ -549,7 +549,7 @@ function CustomTimeSelector({
|
|||||||
? [...clock.split(":"), "00"]
|
? [...clock.split(":"), "00"]
|
||||||
: clock.split(":");
|
: clock.split(":");
|
||||||
|
|
||||||
const end = new Date(startTime * 1000);
|
const end = new Date(endTime * 1000);
|
||||||
end.setHours(
|
end.setHours(
|
||||||
parseInt(hour),
|
parseInt(hour),
|
||||||
parseInt(minute),
|
parseInt(minute),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user