Skip to content

Function: locale()

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

Defined in: node_modules/.pnpm/[email protected]/node_modules/dayjs/index.d.ts:422

Parameters

preset?

string | ILocale

object?

Partial<ILocale>

isLocal?

boolean

Returns

string