From: Armin Ronacher Date: Wed, 24 Jul 2013 11:18:49 +0000 (+0200) Subject: Some more documentation updates X-Git-Tag: 1.0~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=507dba513f6ace2ba8dce78df1dc6cda990e12c7;p=thirdparty%2Fbabel.git Some more documentation updates --- 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`.