Function: locale()

Source: 1.0.0-rc.14 · ecc10ae38a81 (uncommitted changes)

ts
function locale(
   preset?, 
   object?, 
   isLocal?
): string;

Defined in: node_modules/.pnpm/dayjs@1.11.23/node_modules/dayjs/index.d.ts:422

Parameters

preset?

string | ILocale

object?

Partial<ILocale>

isLocal?

boolean

Returns

string