Skip to content

Commit

Permalink
front: remove temporary date fix
Browse files Browse the repository at this point in the history
Signed-off-by: SarahBellaha <[email protected]>
  • Loading branch information
SarahBellaha committed Dec 30, 2024
1 parent 9dec6ed commit 10de4da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/src/applications/stdcm/hooks/useStdcmEnv.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function useStdcmEnvironment() {
workScheduleGroupId: data.work_schedule_group_id,
temporarySpeedLimitGroupId: data.temporary_speed_limit_group_id,
searchDatetimeWindow: {
begin: new Date(`${data.search_window_begin}Z`), // TODO: Remove this temporary fix when editoast returns the date in UTC
begin: new Date(data.search_window_begin),
end: new Date(data.search_window_end),
},
})
Expand Down

0 comments on commit 10de4da

Please sign in to comment.