diff options
| author | Sergey Fedoseev <fedoseev.sergey@gmail.com> | 2017-12-20 20:44:14 +0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-12-20 10:44:45 -0500 |
| commit | 2679cdbea2901ea83fdc9562a92d3760af39ae53 (patch) | |
| tree | 65cad92c920b3d7739cc19a62e5ffe440bcf44d9 | |
| parent | 22fc7a6594ae1df9dcbd76c49e085276c9b9fdd9 (diff) | |
[2.0.x] Refs #25181 -- Updated timezone.now() docs about obtaining the time in the current time zone.
Backport of a7a36bb4d8ef7f03c2df9e3279c8f488ab3641d1 from master
| -rw-r--r-- | docs/ref/utils.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 3047125337..ed53d08be5 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -958,8 +958,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) |
