mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Update src/components/metrics/TimeRangePickerForm.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
eb18706140
commit
87d044d28c
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ export function TimeRangePickerForm({
|
|||
|
||||
const handleSave = () => {
|
||||
const start = setMinutes(setHours(startOfDay(date), startHour), 0);
|
||||
const end = setMinutes(setHours(startOfDay(date), endHour), 59);
|
||||
const end = setMinutes(setHours(startOfDay(date), endHour + 1), 0);
|
||||
onChange(`range:${start.getTime()}:${end.getTime()}`);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue