Date Long Overflow 7.9

Hello,
I get a long overflow in my date fields if the time is pior to 1970.
The epoch_time is a negativ long value and throws an arithmetic_exception on reindex

{
  "index" : "xxx",
  "type" : "_doc",
  "id" : "pub.1081024675",
  "cause" : {
    "type" : "mapper_parsing_exception",
    "reason" : "failed to parse field [date] of type [date] in document with id 'pub.1081024675'. Preview of field's value: '-950400000'",
    "caused_by" : {
      "type" : "arithmetic_exception",
      "reason" : "long overflow"
     }
   },
   "status" : 400
}

There was no problem with elastic 7.4.2.

can you share the mapping and a sample document?

My mapping was something like this:

"date": {
    "type": "date",
    "ignore_malformed" : true,
}

I found this discussion on the Git project and changed the default format to "epoch_millis" only

"date" : {
    "type" : "date",
    "ignore_malformed" : true,
    "format" : "epoch_millis"
}

This solved the problem in the short term. I think in the long term I must change our code to use datestrings instead of epoch_millis. I realy hate date formats and all this conversions ^^.

Thanks