diff --git a/src/components/basis/flight/schedule/FlightScheduleGrid.js b/src/components/basis/flight/schedule/FlightScheduleGrid.js index aac29e6..b57c0c7 100644 --- a/src/components/basis/flight/schedule/FlightScheduleGrid.js +++ b/src/components/basis/flight/schedule/FlightScheduleGrid.js @@ -95,7 +95,10 @@ function FlightScheduleGrid() { const endDate = moment(row.schFltEndDt); const startDate = moment(row.schFltStDt); - const hours = moment.duration(endDate.diff(startDate)).asHours(); + const hours = Math.floor( + moment.duration(endDate.diff(startDate)).asHours() + ); + const minute = moment.duration(endDate.diff(startDate)).asMinutes() % 60;