Skip to content

Commit fa48d0a

Browse files
authored
datetime: describe tarantool.build.tzdata_version (#4425)
The patch describes `tarantool.build.tzdata_version`. Closes #4424
1 parent 70c8f78 commit fa48d0a

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

doc/reference/reference_lua/datetime.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,9 @@ the Earth's rotation speed varies in response to climatic and geological events,
10491049
and due to this, UTC leap seconds are irregularly spaced and unpredictable.
10501050

10511051
Tarantool includes the `Time Zone Database <https://www.iana.org/time-zones>`__
1052-
that beside the time zone description files also contains a leapseconds file.
1052+
that besides the time zone description files also contains a leapseconds file.
1053+
You can use the Lua module :ref:`tarantool <tarantool-module>` to get a used
1054+
version of ``tzdata``.
10531055

10541056
This section describes how the ``datetime`` module supports leap seconds:
10551057

doc/reference/reference_lua/tarantool.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,14 @@ the tarantool module is recommended.
4949
---
5050
- 108.64641499519
5151
...
52+
53+
Tarantool includes parts of `tzdata <https://www.iana.org/time-zones>`__ package
54+
and uses its database for a correct time zone support. Since :doc:`3.2.0 </release/3.2.0>`,
55+
you can get a used version of ``tzdata``:
56+
57+
.. code-block:: tarantoolsession
58+
59+
tarantool> tarantool.build.tzdata_version
60+
---
61+
- 2022a
62+
...

0 commit comments

Comments
 (0)