Skip to content

Commit c77251b

Browse files
committed
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
1 parent 09606ab commit c77251b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/reference/migration/migrate_7_0/java_time.asciidoc

+6
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,9 @@ and should be replaced.
111111
* `getYearOfEra()` should be replaced with `get(ChronoField.YEAR_OF_ERA)`
112112
* `toString(String)` should be replaced with a `DateTimeFormatter`
113113
* `toString(String,Locale)` should be replaced with a `DateTimeFormatter`
114+
115+
[float]
116+
==== Negative epoch timestamps are no longer supported
117+
118+
With the switch to java time, support for negative timestamps has been removed.
119+
For dates before 1970, use a date format containing a year.

0 commit comments

Comments
 (0)