Date & Time
dateEnforcedLocale
dateEnforcedLocaleString
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
dateFormatAbsoluteLabelThe (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
dateFormatDateThe 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
dateFormatDayEnum
The distinct format of the weekday when displaying an absolute date.
long— e.g.Sundayshort— e.g.Sun
Default value: short
dateFormatRelativeDayUnitLabel
dateFormatRelativeDayUnitLabelThe (multi-language) singular form of the day unit label, e.g., "d" in "2d ago."
dateFormatRelativeDaysUnitLabel
dateFormatRelativeDaysUnitLabelThe (multi-language) plural form of the day unit label, e.g., "days" in "In 2 days."
dateFormatRelativeFutureLabel
dateFormatRelativeFutureLabelThe (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
dateFormatRelativeHourUnitLabelThe (multi-language) singular form of the hour unit label, e.g., "h" in "2h ago."
dateFormatRelativeHoursUnitLabel
dateFormatRelativeHoursUnitLabelThe (multi-language) plural form of the hour unit label, e.g., "hrs" in "In 2 hrs."
dateFormatRelativeMinuteUnitLabel
dateFormatRelativeMinuteUnitLabelThe (multi-language) singular form of the minute unit label, e.g., "min" in "2min ago."
dateFormatRelativeMinutesUnitLabel
dateFormatRelativeMinutesUnitLabelThe (multi-language) plural form of the minute unit label, e.g., "minutes" in "In 2 minutes."
dateFormatRelativeMonthUnitLabel
dateFormatRelativeMonthUnitLabelThe (multi-language) singular form of the month unit label, e.g., "m" in "2m ago."
dateFormatRelativeMonthsUnitLabel
dateFormatRelativeMonthsUnitLabelThe (multi-language) plural form of the month unit label, e.g., "months" in "In 2 months."
dateFormatRelativePastLabel
dateFormatRelativePastLabelThe (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
dateFormatRelativeYearUnitLabelThe (multi-language) singular form of the year unit label, e.g., "y" in "2y ago."
dateFormatRelativeYearsUnitLabel
dateFormatRelativeYearsUnitLabelThe (multi-language) plural form of the year unit label, e.g., "years" in "In 2 years."
dateFormatTime
dateFormatTimeEnum
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
dateFormatTodayLabelThe (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
dateFormatTomorrowLabelThe (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
dateFormatYesterdayLabelThe (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
dateFormatWithinWeekLabelThe (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