Refs #25181 -- Updated timezone.now() docs about obtaining the time in the current time zone.

This commit is contained in:
Sergey Fedoseev 2017-12-20 20:44:14 +05:00 committed by Tim Graham
parent 4420761ea9
commit a7a36bb4d8
1 changed files with 1 additions and 2 deletions

View File

@ -931,8 +931,7 @@ appropriate entities.
:ref:`aware <naive_vs_aware_datetimes>` datetime representing the
current time in UTC. Note that :func:`now` will always return
times in UTC regardless of the value of :setting:`TIME_ZONE`;
you can use :func:`localtime` to convert to a time in the current
time zone.
you can use :func:`localtime` to get the time in the current time zone.
.. function:: is_aware(value)