From 507dba513f6ace2ba8dce78df1dc6cda990e12c7 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Wed, 24 Jul 2013 13:18:49 +0200 Subject: [PATCH] Some more documentation updates --- docs/conf.py | 2 +- docs/dates.rst | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 5ba78779..4a0f8b68 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -252,5 +252,5 @@ texinfo_documents = [ #texinfo_show_urls = 'footnote' intersphinx_mapping = { - 'http://docs.python.org/dev': None, + 'http://docs.python.org/2': None, } diff --git a/docs/dates.rst b/docs/dates.rst index 5d43be50..6b837660 100644 --- a/docs/dates.rst +++ b/docs/dates.rst @@ -65,8 +65,9 @@ local time when returning dates to users. At that point the timezone the user has selected can usually be established and Babel can automatically rebase the time for you. -To get the current time use the `datetime.datetime.utcnow` method. It -will return a naive ``datetime`` object in UTC. +To get the current time use the :meth:`~datetime.datetime.utcnow` method +of the :class:`~datetime.datetime` object. It will return a naive +:class:`~datetime.datetime` object in UTC. For more information about timezones see :ref:`timezone-support`. -- 2.47.2