diff --git a/lib/active_scaffold/bridges/date_picker/ext.rb b/lib/active_scaffold/bridges/date_picker/ext.rb index 35bab21af..c0f492e36 100644 --- a/lib/active_scaffold/bridges/date_picker/ext.rb +++ b/lib/active_scaffold/bridges/date_picker/ext.rb @@ -4,7 +4,7 @@ def initialize(model_id) super return unless ActiveScaffold::Bridges::DatePicker.default_ui - types = %i[date datetime] + types = %i[date datetime timestamp timestamptz] date_picker_fields = _columns.filter_map { |c| {name: c.name.to_sym, type: c.type} if types.include?(c.type) } # check to see if file column was used on the model return if date_picker_fields.empty?