Skip to content

Commit 05067ec

Browse files
committed
Remove unused library (Moment)
1 parent 0281da4 commit 05067ec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/app/modules/reports/components/time-entries-table/time-entries-table.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { Entry } from 'src/app/modules/shared/models';
88
import { DataSource } from 'src/app/modules/shared/models/data-source.model';
99
import { EntryState } from '../../../time-clock/store/entry.reducer';
1010
import { getReportDataSource } from '../../../time-clock/store/entry.selectors';
11-
import { Moment } from 'moment';
1211
import { TotalHours } from '../../models/total-hours-report';
1312

1413
@Component({
@@ -121,7 +120,7 @@ export class TimeEntriesTableComponent implements OnInit, OnDestroy, AfterViewIn
121120
});
122121
return this.resultSum;
123122
}
124-
123+
125124
getTimeDifference(substractDate: moment.Moment, fromDate: moment.Moment): moment.Duration {
126125
return moment.duration(fromDate.diff(substractDate));
127126
}

0 commit comments

Comments
 (0)