diff --git a/docs/settings.rst b/docs/settings.rst index 3ffe735e..832db001 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -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: diff --git a/docs/themes.rst b/docs/themes.rst index b00d0236..ea9214fe 100644 --- a/docs/themes.rst +++ b/docs/themes.rst @@ -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