From a1a7653c70a8c4c3e64692d37cf15e5cf5bb7fec Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 2 May 2018 16:24:19 +0200 Subject: [PATCH] State that years has been deprecated. --- docs/units-and-global-variables.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/units-and-global-variables.rst b/docs/units-and-global-variables.rst index 51f7b9f37..4cb34fbd5 100644 --- a/docs/units-and-global-variables.rst +++ b/docs/units-and-global-variables.rst @@ -31,6 +31,9 @@ because of `leap seconds `_. 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::