Skip to main content

@dialstack/sdk-dev / js/src / focTimeOptions

Function: focTimeOptions()

TypeScript
function focTimeOptions(date, timeZone): string[];

Defined in: sdk/js/src/utils/foc-time.ts:129

Half-hour times in timeZone the API accepts on date, in wall-clock order. For a zone far from Eastern (Guam) the window wraps past midnight, and the list does with it.

Parameters​

date​

string | undefined

timeZone​

string

Returns​

string[]