forked from github/pelican
Update Python documentation links to Python 3
This commit is contained in:
parent
6a9aa1dca8
commit
d2c857883f
2 changed files with 3 additions and 3 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue