Date & Time
dateEnforcedLocale
String
Specifies the locale used for formatting date information, overriding the user's browser locale. When set, all date-related elements will be rendered using the defined locale format, ensuring consistency across different user environments.
dateFormatAbsoluteLabel
The (multi-language) label of format in which a date should be displayed.
Please use placeholders {date} and {time} where the respective values should be displayed. e.g. {date} at {time} could be displayed as Nov 18th at 9pm.
dateFormatDate
The distinct format when rendering an absolute date.
MMMM d— Day and Month, e.g.November 18MMM d— Day and Month (short), e.g.Nov 18MMMM d, yyyy— Day, Month, and Year, e.g.November 18, 1981MMM d, yyyy— Day, Month (short), and Year, e.g.Nov 18, 1981MMMM do— Day with Ordinal and Month, e.g.November 18thMMM do— Day with Ordinal, Month (short), e.g.Nov 18thMMMM do, yyyy— Day with Ordinal, Month, and Year, e.g.November 18th, 1981MMM do, yyyy— Day with Ordinal, Month (short), and Year, e.g.Nov 18th, 1981MM/dd/yyyy— US Format (MM/DD/YYYY), e.g.11/18/1981dd/MM/yyyy— European Format (DD/MM/YYYY), e.g.18/11/1981yyyy-MM-dd— ISO Format (YYYY-MM-DD), e.g.1981-11-18
Default value: MMM d
dateFormatDay
Enum
The distinct format of the weekday when displaying an absolute date.
long— e.g.Sundayshort— e.g.Sun
Default value: short
dateFormatRelativeDayUnitLabel
The (multi-language) singular form of the day unit label, e.g., "d" in "2d ago."
dateFormatRelativeDaysUnitLabel
The (multi-language) plural form of the day unit label, e.g., "days" in "In 2 days."
dateFormatRelativeFutureLabel
The (multi-language) format in which a relative date should be displayed, if the date is in the future.
Please use placeholders {unit} and {value} where the respective time value should be displayed. e.g. In {value}{unit} could be displayed as In 4h.
dateFormatRelativeHourUnitLabel
The (multi-language) singular form of the hour unit label, e.g., "h" in "2h ago."
dateFormatRelativeHoursUnitLabel
The (multi-language) plural form of the hour unit label, e.g., "hrs" in "In 2 hrs."
dateFormatRelativeMinuteUnitLabel
The (multi-language) singular form of the minute unit label, e.g., "min" in "2min ago."
dateFormatRelativeMinutesUnitLabel
The (multi-language) plural form of the minute unit label, e.g., "minutes" in "In 2 minutes."
dateFormatRelativeMonthUnitLabel
The (multi-language) singular form of the month unit label, e.g., "m" in "2m ago."
dateFormatRelativeMonthsUnitLabel
The (multi-language) plural form of the month unit label, e.g., "months" in "In 2 months."
dateFormatRelativePastLabel
The (multi-language) format in which a relative date should be displayed, if the date is in the past.
Please use placeholders {unit} and {value} where the respective time value should be displayed. e.g. {value}{unit} ago could be displayed as 30m ago.
dateFormatRelativeYearUnitLabel
The (multi-language) singular form of the year unit label, e.g., "y" in "2y ago."
dateFormatRelativeYearsUnitLabel
The (multi-language) plural form of the year unit label, e.g., "years" in "In 2 years."
dateFormatTime
Enum
The distinct format of the time.
12h— 12-hour clock, omitting minutes, e.g.9pm12hm— 12-hour clock, including minutes, e.g.9:00pm24h— 24-hour clock, omitting minutes, e.g.21 Uhr24hm— 24-hour clock, including minutes, e.g.21:00 Uhr
Default value: 24h
dateFormatTodayLabel
The (multi-language) format in which a date should be displayed, if the date is today.
Please use placeholders {day}, {date} and {time}where the respective values should be displayed. e.g. Today at {time} could be displayed as Today at 9pm.
dateFormatTomorrowLabel
The (multi-language) format in which a date should be displayed, if the date is tomorrow.
Please use placeholders {day}, {date} and {time}where the respective values should be displayed. e.g. Tomorrow at {time} could be displayed as Tomorrow at 9pm.
dateFormatYesterdayLabel
The (multi-language) format in which a date should be displayed, if the date was yesterday.
Please use placeholders {day}, {date} and {time}where the respective values should be displayed. e.g. Yesterday at {time} could be displayed as Yesterday at 9pm.
dateFormatWithinWeekLabel
The (multi-language) format in which a date should be displayed, if the date is within the next 7 days.
Please use placeholders {day}, {date} and {time}where the respective values should be displayed. e.g. This {day} at {time} could be displayed as This Saturday at 9pm.
Last updated