registerLocale(locale, locales)
registerLocale
used to custom locale.
Reference
typescript
(
locale: string,
locales: {
time: string
open: string
high: string
low: string
close: string
volume: string
change: string
turnover: string
second: string
minute: string
hour: string
day: string
week: string
month: string
year: string
}
) => void
Parameters
locale
Locale name.locales
Locale configuration.
Returns
registerLocale
returns undefined
.