Skip to content
Prev Previous commit
Next Next commit
Remove unused library (Moment)
  • Loading branch information
sbateca committed Apr 6, 2022
commit 05067ecc15f4b1faa028f5820044b669fa6479d3
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { Entry } from 'src/app/modules/shared/models';
import { DataSource } from 'src/app/modules/shared/models/data-source.model';
import { EntryState } from '../../../time-clock/store/entry.reducer';
import { getReportDataSource } from '../../../time-clock/store/entry.selectors';
import { Moment } from 'moment';
import { TotalHours } from '../../models/total-hours-report';

@Component({
Expand Down Expand Up @@ -121,7 +120,7 @@ export class TimeEntriesTableComponent implements OnInit, OnDestroy, AfterViewIn
});
return this.resultSum;
}

getTimeDifference(substractDate: moment.Moment, fromDate: moment.Moment): moment.Duration {
return moment.duration(fromDate.diff(substractDate));
}
Expand Down