Merge pull request #4046 from ethereum/deprecateYears

State that years has been deprecated.
This commit is contained in:
Alex Beregszaszi 2018-05-03 04:18:09 +01:00 committed by GitHub
commit 72c3b3a242
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,9 @@ because of `leap seconds <https://en.wikipedia.org/wiki/Leap_second>`_.
Due to the fact that leap seconds cannot be predicted, an exact calendar
library has to be updated by an external oracle.
.. note::
The suffix ``years`` has been deprecated due to the reasons above.
These suffixes cannot be applied to variables. If you want to
interpret some input variable in e.g. days, you can do it in the following way::