Skip to content

Commit 0ce3f88

Browse files
authored
datetime: add note about tzoffset value range (#4440)
Closes #4439 Closes #4442
1 parent 56a20bf commit 0ce3f88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/reference/reference_lua/datetime.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ Functions
155155
- 0
156156

157157
* - tzoffset
158-
- A time zone offset from UTC, in minutes. If both ``tzoffset`` and
159-
``tz`` are specified, ``tz`` has the preference and the ``tzoffset``
158+
- A time zone offset from UTC, in minutes. Value range: -720 - 840 inclusive.
159+
If both ``tzoffset`` and ``tz`` are specified, ``tz`` has the preference and the ``tzoffset``
160160
value is ignored. See a section :ref:`timezone <timezone>`.
161161
- number
162162
- 0

0 commit comments

Comments
 (0)