Skip to content

Commit e07f73e

Browse files
committed
Correct description of parameters
Part of #2411
1 parent 8541a91 commit e07f73e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/reference/reference_lua/datetime/interval_new.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ datetime.interval.new()
1111
See :ref:`description of units <interval-new-args>` and :ref:`examples <interval-new-example>` below.
1212

1313
:param table time_units: Table of :ref:`time units <interval-new-args>`. For all possible time units, the values are not restricted.
14-
If an empty table or no arguments are passed, the ``interval`` object with the default value ``0 second`` is created.
14+
If an empty table or no arguments are passed, the ``interval`` object with the default value ``0 seconds`` is created.
1515

1616
:return: :doc: interval object
1717
:rtype: cdata

doc/reference/reference_lua/datetime/new.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ datetime.new()
99

1010
Create an object of the :ref:`datetime type <index-box_datetime>` from a table of time units.
1111
See :ref:`description of units <datetime-new-args>` and :ref:`examples <datetime-new-example>` below.
12-
If an empty table or no arguments are passed, create the ``datetime`` object with the default values corresponding to Unix Epoch: ``1970-01-01T00:00:00Z``.
1312

14-
:param table time_units: Table of time units. [TDB]
13+
:param table time_units: Table of :ref:`time units <datetime-new-args>`.
14+
If an empty table or no arguments are passed, the ``datetime`` object with the default values corresponding to Unix Epoch is created: ``1970-01-01T00:00:00Z``.
1515

1616
:return: :doc:`datetime object <./datetime/datetime_object>`
1717
:rtype: cdata
1818

1919
.. _datetime-new-args:
2020

21-
**Possible time units for ``datetime.new()** [TBD]
21+
**Possible input time units for ``datetime.new()**
2222

2323
.. container:: table
2424

0 commit comments

Comments
 (0)