Skip to content

Interface: DayjsTimezone()

Defined in: node_modules/.pnpm/[email protected]/node_modules/dayjs/plugin/timezone.d.ts:12

Call Signature

DayjsTimezone(date?, timezone?): Dayjs

Defined in: node_modules/.pnpm/[email protected]/node_modules/dayjs/plugin/timezone.d.ts:13

Parameters

date?

null | string | number | Date | Dayjs

timezone?

string

Returns

Dayjs

Call Signature

DayjsTimezone(date, format, timezone?): Dayjs

Defined in: node_modules/.pnpm/[email protected]/node_modules/dayjs/plugin/timezone.d.ts:14

Parameters

date

undefined | null | string | number | Date | Dayjs

format

string

timezone?

string

Returns

Dayjs

Methods

guess()

guess(): string

Defined in: node_modules/.pnpm/[email protected]/node_modules/dayjs/plugin/timezone.d.ts:15

Returns

string


setDefault()

setDefault(timezone?): void

Defined in: node_modules/.pnpm/[email protected]/node_modules/dayjs/plugin/timezone.d.ts:16

Parameters

timezone?

string

Returns

void