Calendar

Timeline card for selecting a date.

Parameters

Name Type Default Values Description
title string - - the text you would like to appear in the Calendar
dateTime string - - timestamp of inital selected date
minDate string - - timestamp of lower limit of date range
maxDate string - - timestamp of upper limit of date range
stage string - start, confirmation render the date or time component individually
timeFormat string 24h - display time in 12 or 24 hour format
startDay string mon sat, sun, mon day that the week should start on
disabledDays comma separated string - mon, tues, weds, thurs, fri, sat, sun days of the week that should not be selectable
format string - ‘ddd D YYYY h’, ‘YY DD MM’,etc For full reference of the supported formats : https://day.js.org/docs/en/display/format
confirmButtonText string confirm any text Allows localizing or over-riding of the confirm button
language string en should be a valid language code - see https://gist.github.com/wpsmith/7604842 for reference Allows localizing of the month and day labels

Calendar with Saturdays and Sundays disabled

Calendar with the week starting on Sunday

Calendar with arabic labels

Last updated on