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
+3
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::