mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-02-26 12:21:00 +03:00
fix(ETA): Update incorrect max value (#1853)
This commit is contained in:
parent
66d0abe414
commit
2176babd5c
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ import dayjs from '@/plugins/dayjs'
|
|||
import { DurationUnitType } from 'dayjs/plugin/duration'
|
||||
|
||||
export function formatEta(value: number): string {
|
||||
const QBIT_MAX_ETA = 864_000 // 100 days
|
||||
const QBIT_MAX_ETA = 8_640_000 // 100 days
|
||||
const MAX_UNITS = 2 // Will display 2 units max, from highest to lowest
|
||||
|
||||
if (value >= QBIT_MAX_ETA) {
|
||||
|
|
Loading…
Add table
Reference in a new issue