diff options
author | chriseth <chris@ethereum.org> | 2018-05-02 22:24:19 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-05-02 22:24:19 +0800 |
commit | a1a7653c70a8c4c3e64692d37cf15e5cf5bb7fec (patch) | |
tree | e55aaeb70f7332aeda0f988e9fed5e34685b9304 | |
parent | de2c8fd684dd7c2a29460f64ffc891f1d6353cc8 (diff) | |
download | dexon-solidity-a1a7653c70a8c4c3e64692d37cf15e5cf5bb7fec.tar.gz dexon-solidity-a1a7653c70a8c4c3e64692d37cf15e5cf5bb7fec.tar.zst dexon-solidity-a1a7653c70a8c4c3e64692d37cf15e5cf5bb7fec.zip |
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:: |