On this page
getLocaleTimeFormat
function
Retrieves a localized time-value formatting string.
getLocaleTimeFormat(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 formatting string.
See also
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
 https://v14.angular.io/api/common/getLocaleTimeFormat