Skip to content

Function: formatDate()

formatDate(date?, options?): string

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

format the date (dayjs) with default timezone

Parameters

date?

string | number | Date

options?

template

string

timezone

string

Returns

string