diff --git a/app/models/activity.rb b/app/models/activity.rb index 58d7004a1..2a35fa725 100644 --- a/app/models/activity.rb +++ b/app/models/activity.rb @@ -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: {