Skip to content

Commit ff058d7

Browse files
committed
datetime: fix typo
`strptime` is a function, not a library.
1 parent fe6d045 commit ff058d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/reference/reference_lua/datetime.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ datetime_object
608608
.. method:: format( ['input_string'] )
609609

610610
Convert the standard ``datetime`` object presentation into a formatted string.
611-
The conversion specifications are the same as in the `strftime <https://www.freebsd.org/cgi/man.cgi?query=strftime&sektion=3>`__ library.
611+
The conversion specifications are the same as in the `strftime <https://www.freebsd.org/cgi/man.cgi?query=strftime&sektion=3>`__ function.
612612
Additional specification for nanoseconds is `%f` which also allows a modifier to control the output precision of fractional part: `%5f` (see the example below).
613613
If no arguments are set for the method, the default conversions are used: `'%FT%T.%f%z'` (see the example below).
614614

0 commit comments

Comments
 (0)