]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/services/time-diff.service.ts
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / services / time-diff.service.ts
index 8d3079a251cc30218f985a2266ed4b8134f2c295..37477658ce9603d790940e3e5f0fcf31d15a07da 100644 (file)
@@ -1,13 +1,11 @@
 import { Injectable } from '@angular/core';
 
-import * as _ from 'lodash';
+import _ from 'lodash';
 
 @Injectable({
   providedIn: 'root'
 })
 export class TimeDiffService {
-  constructor() {}
-
   calculateDuration(startDate: Date, endDate: Date): string {
     const startTime = +startDate;
     const endTime = +endDate;