1
0
Fork 0
forked from github/pelican

Update Python documentation links to Python 3

This commit is contained in:
Justin Mayer 2019-12-28 09:52:33 +01:00
commit d2c857883f
2 changed files with 3 additions and 3 deletions

View file

@ -369,7 +369,7 @@ and pages anywhere you want.
the `Python datetime documentation`_ for more information.
.. _Python datetime documentation:
https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior
https://docs.python.org/3/library/datetime.html#strftime-and-strptime-behavior
Also, you can use other file metadata attributes as well:

View file

@ -120,8 +120,8 @@ your date according to the locale given in your settings::
{{ article.date|strftime('%d %B %Y') }}
.. _datetime: https://docs.python.org/2/library/datetime.html#datetime-objects
.. _strftime: https://docs.python.org/2/library/datetime.html#strftime-strptime-behavior
.. _datetime: https://docs.python.org/3/library/datetime.html#datetime-objects
.. _strftime: https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior
index.html