|
|
@ -95,7 +95,10 @@ function FlightScheduleGrid() { |
|
|
|
const endDate = moment(row.schFltEndDt); |
|
|
|
const endDate = moment(row.schFltEndDt); |
|
|
|
const startDate = moment(row.schFltStDt); |
|
|
|
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 = |
|
|
|
const minute = |
|
|
|
moment.duration(endDate.diff(startDate)).asMinutes() % 60; |
|
|
|
moment.duration(endDate.diff(startDate)).asMinutes() % 60; |
|
|
|
|
|
|
|
|
|
|
|