diff options
Diffstat (limited to 'docutils')
| -rw-r--r-- | docutils/docs/ref/rst/directives.txt | 4 | ||||
| -rw-r--r-- | docutils/docs/user/config.txt | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/docutils/docs/ref/rst/directives.txt b/docutils/docs/ref/rst/directives.txt index bd997b947..66d422fbb 100644 --- a/docutils/docs/ref/rst/directives.txt +++ b/docutils/docs/ref/rst/directives.txt @@ -1368,7 +1368,7 @@ into the document as text. This directive may be used in substitution definitions only. The optional directive content is interpreted as the desired date -format, using the same codes as Python's time.strftime function. The +format, using the same codes as Python's `time.strftime()`__ function. The default format is "%Y-%m-%d" (ISO 8601 date), but time fields can also be used. Examples:: @@ -1379,6 +1379,8 @@ be used. Examples:: This document was generated on |date| at |time|. +__ https://docs.python.org/3/library/time.html#time.strftime + --------------- Miscellaneous diff --git a/docutils/docs/user/config.txt b/docutils/docs/user/config.txt index 6a8a203bd..e971e8dfa 100644 --- a/docutils/docs/user/config.txt +++ b/docutils/docs/user/config.txt @@ -225,8 +225,7 @@ datestamp --------- Include a time/datestamp in the document footer. Contains a -format string for Python's ``time.strftime``. See the `time -module documentation`__. +format string for Python's `time.strftime()`__. Default: None. Options: ``--date, -d, --time, -t, --no-datestamp``. @@ -244,7 +243,7 @@ Configuration file entry examples:: # Disables datestamp; equivalent to --no-datestamp: datestamp: -__ http://www.python.org/doc/current/lib/module-time.html +__ https://docs.python.org/3/library/time.html#time.strftime debug ----- |
