Field::DateTime

Renders a date and time picker for editing.

DateTime field showing a date and time picker on an edit page DateTime field showing a timestamp on a show page

Field::DateTime.new(:published_at)

Not searchable by default. If enabled, matches by equality; the search term must parse as a date/time (e.g. 2024-01-01 12:00).