diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2013-07-24 13:18:49 +0200 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2013-07-24 13:18:49 +0200 |
commit | 507dba513f6ace2ba8dce78df1dc6cda990e12c7 (patch) | |
tree | e5560a7e81ced9dfcac56c4c162aa783991b5a56 /docs/dates.rst | |
parent | 1bfea792fbb260f99063249d881021fdadd648a2 (diff) | |
download | babel-507dba513f6ace2ba8dce78df1dc6cda990e12c7.tar.gz |
Some more documentation updates
Diffstat (limited to 'docs/dates.rst')
-rw-r--r-- | docs/dates.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/dates.rst b/docs/dates.rst index 5d43be5..6b83766 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`. |