mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
State that years has been deprecated.
This commit is contained in:
parent
de2c8fd684
commit
a1a7653c70
@ -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
|
Due to the fact that leap seconds cannot be predicted, an exact calendar
|
||||||
library has to be updated by an external oracle.
|
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
|
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::
|
interpret some input variable in e.g. days, you can do it in the following way::
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user