From 7da62d3b798c9bf86c3aa96f257c90256f512972 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Wed, 6 Mar 2019 12:17:12 -0800 Subject: [PATCH] Add note about negative timestamps to migration guide (#39734) This commit adds a note to the migration guide for 7.0 about negative epoch timestamps no longer being supported. closes #39375 --- docs/reference/migration/migrate_7_0/java_time.asciidoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/reference/migration/migrate_7_0/java_time.asciidoc b/docs/reference/migration/migrate_7_0/java_time.asciidoc index a79bda40dd5..8decba81b70 100644 --- a/docs/reference/migration/migrate_7_0/java_time.asciidoc +++ b/docs/reference/migration/migrate_7_0/java_time.asciidoc @@ -111,3 +111,9 @@ and should be replaced. * `getYearOfEra()` should be replaced with `get(ChronoField.YEAR_OF_ERA)` * `toString(String)` should be replaced with a `DateTimeFormatter` * `toString(String,Locale)` should be replaced with a `DateTimeFormatter` + +[float] +==== Negative epoch timestamps are no longer supported + +With the switch to java time, support for negative timestamps has been removed. +For dates before 1970, use a date format containing a year.