We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0afd38 commit 62b0b19Copy full SHA for 62b0b19
frontend/src/features/Vessel/components/VesselSidebar/components/Controls/Control.tsx
@@ -44,8 +44,8 @@ export function Control({ control, isLastItem }: ControlProps) {
44
45
const openTripForControl = async () => {
46
const controlDate = customDayjs(control.actionDatetimeUtc)
47
- const fromDate = controlDate.subtract(2, 'days')
48
- const toDate = controlDate.add(2, 'days')
+ const fromDate = controlDate.subtract(1, 'day')
+ const toDate = controlDate.add(1, 'day')
49
const trackRequest: TrackRequestCustom = {
50
afterDateTime: fromDate.toDate(),
51
beforeDateTime: toDate.toDate(),
0 commit comments