Skip to content

Commit

Permalink
Add note about negative timestamps to migration guide (#39734)
Browse files Browse the repository at this point in the history
This commit adds a note to the migration guide for 7.0 about negative
epoch timestamps no longer being supported.

closes #39375
  • Loading branch information
rjernst authored Mar 6, 2019
1 parent 1873de5 commit 7da62d3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/reference/migration/migrate_7_0/java_time.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 7da62d3

Please sign in to comment.