Made django.utils.timezone.localtime a private API -- it's too specific to the template engine.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Aymeric Augustin 2012-03-03 19:57:25 +00:00
parent c988397279
commit 7ce1ad7c03
2 changed files with 7 additions and 7 deletions

View file

@ -666,11 +666,6 @@ For a complete discussion on the usage of the following see the
``None``, the :ref:`current time zone <default-current-time-zone>` is unset
on entry with :func:`deactivate()` instead.
.. function:: localtime(value, use_tz=None)
This function is used by the template engine to convert datetimes to local
time where appropriate.
.. function:: now()
Returns an aware or naive :class:`~datetime.datetime` that represents the