Skip to content

Timestamp

Datetime / date-time-range field wrapper (delegates to internal range+timezone control). Driven by .type and .pg_data_type.

HTML tag: c-e9169ae6eb50643c9900332683dfa8670

  • datetime or date-time range field
  • timestamp bound to pg_data_type
  • combined date+time (not date-only or time-only)
PropTypeDefaultDescription
labelstring
valuestring
typestringdate time
pg_data_typestringtimestamp
readonlybooleanfalse
date_formatstring
display_settingsstring
themestring
  • Set .type (e.g. ‘date time’, range variants) and .pg_data_type (timestamp, etc.) per storage type.
  • value-modified on change; also fires platform value-changed via mixin on child path.
  • date_format/display_settings come from display settings loader when pg_data_type changes.
EventDetail
value-modifiedstring
value-changedstring

Do not use for simple date-only forms (ab-date-field). Do not duplicate timezone range UI if ab-timestamp-range-with-timezone-field is required.

<c-e9169ae6eb50643c9900332683dfa8670 .label=${'Created at'} .value=${createdAt} .pg_data_type=${'timestamp'} .type=${'date time'} @value-modified=${onTsChange}></c-e9169ae6eb50643c9900332683dfa8670>