aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-05-02 22:24:19 +0800
committerchriseth <chris@ethereum.org>2018-05-02 22:24:19 +0800
commita1a7653c70a8c4c3e64692d37cf15e5cf5bb7fec (patch)
treee55aaeb70f7332aeda0f988e9fed5e34685b9304 /docs
parentde2c8fd684dd7c2a29460f64ffc891f1d6353cc8 (diff)
downloaddexon-solidity-a1a7653c70a8c4c3e64692d37cf15e5cf5bb7fec.tar
dexon-solidity-a1a7653c70a8c4c3e64692d37cf15e5cf5bb7fec.tar.gz
dexon-solidity-a1a7653c70a8c4c3e64692d37cf15e5cf5bb7fec.tar.bz2
dexon-solidity-a1a7653c70a8c4c3e64692d37cf15e5cf5bb7fec.tar.lz
dexon-solidity-a1a7653c70a8c4c3e64692d37cf15e5cf5bb7fec.tar.xz
dexon-solidity-a1a7653c70a8c4c3e64692d37cf15e5cf5bb7fec.tar.zst
dexon-solidity-a1a7653c70a8c4c3e64692d37cf15e5cf5bb7fec.zip
State that years has been deprecated.
Diffstat (limited to 'docs')
-rw-r--r--docs/units-and-global-variables.rst3
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::