From e8fcb83258267fe1ff3048280872a08143205b57 Mon Sep 17 00:00:00 2001 From: Temir Galeev Date: Sat, 29 Nov 2025 01:03:17 +0300 Subject: [PATCH 1/4] datetime: refined leap second support desc --- doc/reference/reference_lua/datetime.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/reference/reference_lua/datetime.rst b/doc/reference/reference_lua/datetime.rst index ad1ea2981..902ad2662 100644 --- a/doc/reference/reference_lua/datetime.rst +++ b/doc/reference/reference_lua/datetime.rst @@ -118,7 +118,7 @@ Functions - 0 * - sec - - Seconds. Value range: 0 - 60. A leap second is supported, see a section :ref:`leap second `. + - Seconds. Value range: 0 - 60. A leap second is inchoately supported, see a section :ref:`leap second `. - number - 0 @@ -267,7 +267,7 @@ Functions By default fields that are not specified are equal to appropriate values in a Unix time. - Leap second is supported, see a section :ref:`leap second `. + Leap second is inchoately supported, see a section :ref:`leap second `. :param string input_string: string with the date and time information. :param string format: indicator of the ``input_string`` format. @@ -1098,7 +1098,8 @@ that besides the time zone description files also contains a leapseconds file. You can use the Lua module :ref:`tarantool ` to get a used version of ``tzdata``. -This section describes how the ``datetime`` module supports leap seconds: +This section describes how the ``datetime`` module supports leap seconds. +It's very initially level of support: * The function :ref:`datetime.parse() ` correctly parses an input string with 60 seconds: From 5ed6ea7abf4b6bdd319c9dd058c3be9a26be78ff Mon Sep 17 00:00:00 2001 From: Temir Galeev Date: Mon, 1 Dec 2025 14:25:47 +0300 Subject: [PATCH 2/4] Update doc/reference/reference_lua/datetime.rst Co-authored-by: Elena Shebunyaeva --- doc/reference/reference_lua/datetime.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/reference/reference_lua/datetime.rst b/doc/reference/reference_lua/datetime.rst index 902ad2662..28f69b29b 100644 --- a/doc/reference/reference_lua/datetime.rst +++ b/doc/reference/reference_lua/datetime.rst @@ -118,7 +118,7 @@ Functions - 0 * - sec - - Seconds. Value range: 0 - 60. A leap second is inchoately supported, see a section :ref:`leap second `. + - Seconds. Value range: 0 - 60. A leap second is supported at the most basic level, see the section :ref:`leap second `. - number - 0 From 4188354e7d350dd1c8bfc9afb39df1a1b7b07950 Mon Sep 17 00:00:00 2001 From: Temir Galeev Date: Mon, 1 Dec 2025 14:25:58 +0300 Subject: [PATCH 3/4] Update doc/reference/reference_lua/datetime.rst Co-authored-by: Elena Shebunyaeva --- doc/reference/reference_lua/datetime.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/reference/reference_lua/datetime.rst b/doc/reference/reference_lua/datetime.rst index 28f69b29b..29d12292b 100644 --- a/doc/reference/reference_lua/datetime.rst +++ b/doc/reference/reference_lua/datetime.rst @@ -267,7 +267,7 @@ Functions By default fields that are not specified are equal to appropriate values in a Unix time. - Leap second is inchoately supported, see a section :ref:`leap second `. + Leap second is supported at the most basic level, see the section :ref:`leap second `. :param string input_string: string with the date and time information. :param string format: indicator of the ``input_string`` format. From a138601f4c629eb29103f76e6ae95115ea53f2f4 Mon Sep 17 00:00:00 2001 From: Temir Galeev Date: Mon, 1 Dec 2025 14:26:05 +0300 Subject: [PATCH 4/4] Update doc/reference/reference_lua/datetime.rst Co-authored-by: Elena Shebunyaeva --- doc/reference/reference_lua/datetime.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/reference/reference_lua/datetime.rst b/doc/reference/reference_lua/datetime.rst index 29d12292b..247055732 100644 --- a/doc/reference/reference_lua/datetime.rst +++ b/doc/reference/reference_lua/datetime.rst @@ -1098,8 +1098,7 @@ that besides the time zone description files also contains a leapseconds file. You can use the Lua module :ref:`tarantool ` to get a used version of ``tzdata``. -This section describes how the ``datetime`` module supports leap seconds. -It's very initially level of support: +The ``datetime`` module supports leap seconds at the most basic level: * The function :ref:`datetime.parse() ` correctly parses an input string with 60 seconds: