Skip to content

Commit

Permalink
Merge branch 'subfusc-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
scambra committed Dec 11, 2024
2 parents 1ca5ecd + b4e60b7 commit 7d25721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_scaffold/bridges/date_picker/ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 7d25721

Please sign in to comment.