Skip to content

Commit

Permalink
time intervals in activities index. #215
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Mar 10, 2019
1 parent 3aa367f commit f1bb1b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/activity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def after_audit
awardTitle: { type: :keyword }
}},
dates: { type: :object, properties: {
date: { type: :date, format: "yyyy-MM-dd||yyyy-MM||yyyy", ignore_malformed: true },
date: { type: :date, format: "date_optional_time", ignore_malformed: true, fields: { raw: { type: :text }} },
dateType: { type: :keyword }
}},
geo_locations: { type: :object, properties: {
Expand Down

0 comments on commit f1bb1b7

Please sign in to comment.