diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-05-03 11:18:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-03 11:18:09 +0800 |
commit | 72c3b3a2422b5f1b1ca80736a84fd88d44da4c47 (patch) | |
tree | 2a04fd304267aeed8b0cdfc353aaf620ad2a1f6f | |
parent | 42d6547bded732c39ee921e691c3a18a1d52fc80 (diff) | |
parent | a1a7653c70a8c4c3e64692d37cf15e5cf5bb7fec (diff) | |
download | dexon-solidity-72c3b3a2422b5f1b1ca80736a84fd88d44da4c47.tar dexon-solidity-72c3b3a2422b5f1b1ca80736a84fd88d44da4c47.tar.gz dexon-solidity-72c3b3a2422b5f1b1ca80736a84fd88d44da4c47.tar.bz2 dexon-solidity-72c3b3a2422b5f1b1ca80736a84fd88d44da4c47.tar.lz dexon-solidity-72c3b3a2422b5f1b1ca80736a84fd88d44da4c47.tar.xz dexon-solidity-72c3b3a2422b5f1b1ca80736a84fd88d44da4c47.tar.zst dexon-solidity-72c3b3a2422b5f1b1ca80736a84fd88d44da4c47.zip |
Merge pull request #4046 from ethereum/deprecateYears
State that years has been deprecated.
-rw-r--r-- | docs/units-and-global-variables.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/units-and-global-variables.rst b/docs/units-and-global-variables.rst index 51f7b9f3..4cb34fbd 100644 --- a/docs/units-and-global-variables.rst +++ b/docs/units-and-global-variables.rst @@ -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:: |