summaryrefslogtreecommitdiff
path: root/docutils
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-01-20 10:09:24 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-01-20 10:09:24 +0000
commit16c0d23ea9c5f65fc28fbf098a3f2dfd44c90d95 (patch)
treef7bc193b843056941dcab0e09c1474b1ef729f12 /docutils
parent399402dcab96aec2f36cd66c5c72aa702cb9dd63 (diff)
downloaddocutils-16c0d23ea9c5f65fc28fbf098a3f2dfd44c90d95.tar.gz
Add/update link to time.strftime().
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8952 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils')
-rw-r--r--docutils/docs/ref/rst/directives.txt4
-rw-r--r--docutils/docs/user/config.txt5
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
-----