Skip to content

Commit

Permalink
[DOCS] Remove outdated note in Date field type (elastic#92408)
Browse files Browse the repository at this point in the history
Negative epoch timestamps are supported in 8.2.0 by pr elastic#80208

(cherry picked from commit 7b17e1b)
  • Loading branch information
amooncake committed Dec 20, 2022
1 parent bf5e313 commit 5ed4d40
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/reference/mapping/types/date.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ JSON doesn't have a date data type, so dates in Elasticsearch can either be:
* a number representing _milliseconds-since-the-epoch_.
* a number representing _seconds-since-the-epoch_ (<<date-epoch-seconds, configuration>>).

NOTE: Values for _milliseconds-since-the-epoch_ must be non-negative. Use a
formatted date to represent dates before 1970.

Internally, dates are converted to UTC (if the time-zone is specified) and
stored as a long number representing milliseconds-since-the-epoch.

Expand Down

0 comments on commit 5ed4d40

Please sign in to comment.