Skip to content

Commit

Permalink
add date format so kibana can alert on this
Browse files Browse the repository at this point in the history
  • Loading branch information
pudo committed Feb 13, 2023
1 parent 2297d05 commit ce70f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yente/search/mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

MappingProperty = Dict[str, Union[List[str], str]]

DATE_FORMAT = "yyyy-MM-dd'T'HH||yyyy-MM-dd'T'HH:mm||yyyy-MM-dd'T'HH:mm:ss||yyyy-MM-dd||yyyy-MM||yyyy"
DATE_FORMAT = "yyyy-MM-dd'T'HH||yyyy-MM-dd'T'HH:mm||yyyy-MM-dd'T'HH:mm:ss||yyyy-MM-dd||yyyy-MM||yyyy||strict_date_optional_time"
TEXT_TYPES = (registry.name, registry.address)
INDEX_SETTINGS = {
"analysis": {
Expand Down

0 comments on commit ce70f6e

Please sign in to comment.