Skip to content

Module: utilities/time

Functions

durationForChat

durationForChat(elapsed): string

Parameters

NameType
elapsednumber

Returns

string

Defined in

src/utilities/time.ts:50


durationForURL

durationForURL(elapsed): string

Parameters

NameType
elapsednumber

Returns

string

Defined in

src/utilities/time.ts:63


duration_to_string

duration_to_string(elapsed, separate_days?, days_only?, no_hours?, no_seconds?): string

Parameters

NameType
elapsednumber
separate_days?boolean
days_only?boolean
no_hours?boolean
no_seconds?boolean

Returns

string

Defined in

src/utilities/time.ts:7


getBuster

getBuster(resolution?): number

Parameters

NameTypeDefault value
resolutionnumber5

Returns

number

Defined in

src/utilities/time.ts:2


print_duration(seconds): string

Parameters

NameType
secondsnumber

Returns

string

Defined in

src/utilities/time.ts:39