mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
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:
parent
c988397279
commit
7ce1ad7c03
2 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue