tridion-sites-extensions-api-docs

Home > @tridion-sites/models > UserLocaleInfo

UserLocaleInfo class

Represents the information about User locale.

Signature:

export declare class UserLocaleInfo

Constructors

Constructor Modifiers Description
(constructor)(backendModel)   Constructs a new instance of the UserLocaleInfo class

Properties

Property Modifiers Type Description
_backendModel   BackendUserLocaleInfo  
amDesignator   string String designator for hours that are “ante meridiem” (before noon).
dayNames   ReadonlyArray<string> Culture-specific full names of the days of the week.
fullDateTimeFormat   string | undefined Custom format string for a long date and long time value.
getInternalModel   () => BackendUserLocaleInfo  
longDateFormat   string | undefined Custom format string for a long date value.
longTimeFormat   string | undefined Custom format string for a long time value.
monthNames   ReadonlyArray<string> Culture-specific full names of the months.
pmDesignator   string String designator for hours that are “post meridiem” (after noon).
shortDateFormat   string | undefined Custom format string for a short date value.
shortDateTimeFormat   string | undefined Custom format string for a short date and short time value.
shortDayNames   ReadonlyArray<string> Culture-specific abbreviated names of the days of the week.
shortestDayNames   ReadonlyArray<string> Shortest unique abbreviated day names.
shortMonthNames   ReadonlyArray<string> Culture-specific abbreviated names of the months.
shortTimeFormat   string | undefined Custom format string for a short time value.