Skip to content

DateRangeDisplay

Overview

Displays a formatted date range from a start and end value (ISO strings or Luxon DateTimes). Renders a single date when both values fall on the same day, and omits redundant year or month segments when the range stays within the same month or year.

Theme entry: DateRangeDisplay

Props

NameTypeRequiredDefaultDescription
themeOverrideString|Object|ArraynullA partial theme object merged with the component's default theme; accepts a class string, class array, or theme object.
startstring|objectyesStart of the date range as an ISO string or Luxon DateTime.
endstring|objectyesEnd of the date range as an ISO string or Luxon DateTime.
showTimebooleanfalseWhether to include the time when both dates fall on the same day.
localestring"en-CA"BCP 47 locale tag used to format the displayed date segments.

Source

client/lib/display/date-display/DateRangeDisplay.vue

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2