Skip to content

datetime: describe tarantool.build.tzdata_version #4425

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion doc/reference/reference_lua/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,9 @@ the Earth's rotation speed varies in response to climatic and geological events,
and due to this, UTC leap seconds are irregularly spaced and unpredictable.

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

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

Expand Down
11 changes: 11 additions & 0 deletions doc/reference/reference_lua/tarantool.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,14 @@ the tarantool module is recommended.
---
- 108.64641499519
...

Tarantool includes parts of `tzdata <https://www.iana.org/time-zones>`__ package
and uses its database for a correct time zone support. Since :doc:`3.2.0 </release/3.2.0>`,
you can get a used version of ``tzdata``:

.. code-block:: tarantoolsession

tarantool> tarantool.build.tzdata_version
---
- 2022a
...
Loading