aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-05-03 11:18:09 +0800
committerGitHub <noreply@github.com>2018-05-03 11:18:09 +0800
commit72c3b3a2422b5f1b1ca80736a84fd88d44da4c47 (patch)
tree2a04fd304267aeed8b0cdfc353aaf620ad2a1f6f /docs
parent42d6547bded732c39ee921e691c3a18a1d52fc80 (diff)
parenta1a7653c70a8c4c3e64692d37cf15e5cf5bb7fec (diff)
downloaddexon-solidity-72c3b3a2422b5f1b1ca80736a84fd88d44da4c47.tar.gz
dexon-solidity-72c3b3a2422b5f1b1ca80736a84fd88d44da4c47.tar.zst
dexon-solidity-72c3b3a2422b5f1b1ca80736a84fd88d44da4c47.zip
Merge pull request #4046 from ethereum/deprecateYears
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::