use correct time in custom export time picker

This commit is contained in:
Josh Hawkins 2025-05-01 09:46:35 -05:00
parent 08c087f221
commit fba2851a43

View File

@ -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),