diff --git a/lib/shared/units.ts b/lib/shared/units.ts index 84b377f1..dcf3646c 100644 --- a/lib/shared/units.ts +++ b/lib/shared/units.ts @@ -18,7 +18,6 @@ import * as _ from 'lodash'; import * as prettyBytes from 'pretty-bytes'; const MEGABYTE_TO_BYTE_RATIO = 1000000; -const MILLISECONDS_IN_A_DAY = 86400000; export function bytesToMegabytes(bytes: number): number { return bytes / MEGABYTE_TO_BYTE_RATIO; @@ -30,7 +29,3 @@ export function bytesToClosestUnit(bytes: number): string | null { } return null; } - -export function daysToMilliseconds(days: number): number { - return days * MILLISECONDS_IN_A_DAY; -}