Function: toZonedDayjs() ​

Source: 1.2.2 · 300ce5b4b16f

ts
function toZonedDayjs(date?, timezone?): Dayjs;

Defined in: packages/valaxy/client/utils/time.ts:16

Convert a date using the same timezone rules as formatDate.

Parameters ​

date? ​

string | number | Date

timezone? ​

string

Returns ​

Dayjs