W3cubDocs

/Angular

registerLocaleData

function

Register global data to be used internally by Angular. See the "I18n guide" to know how to import additional locale data.

See more...

registerLocaleData(data: any, localeId?: any, extraData?: any): void

Parameters
data any
localeId any

Optional. Default is undefined.

extraData any

Optional. Default is undefined.

Returns

void

Description

The signature registerLocaleData(data: any, extraData?: any) is deprecated since v5.1

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/common/registerLocaleData