Skip to content
Sections
Fiesta

Date and time

The four fields datetime.js enhances, each keeping its native input underneath, so a reader with no script gets the plain control and not a broken one.

  • field-dateA native date input, plus the natural-language combobox datetime.js adds when the input carries data-rst-date. Type "tomorrow" into it.
  • field-timeThe same envelope around a native time input. The enhancement reads a clock rather than a calendar.
  • field-datetimeA date and a time in one input, one value.
  • field-daterangeA start and an end as one labelled fieldset. Give every input its own name and id.