getLocaleDateFormat
function
Retrieves a localized date-value formating string.
getLocaleDateFormat(locale: string, width: FormatWidth): string
Parameters
locale
|
string
|
A locale code for the locale format rules to use. |
width
|
FormatWidth
|
The format type. |
Returns
string
: The localized formating string.
See also
FormatWidth
- Internationalization (i18n) Guide
© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v8.angular.io/api/common/getLocaleDateFormat