소스 검색

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

Sergey Fedoseev 7 년 전
부모
커밋
a7a36bb4d8
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      docs/ref/utils.txt

+ 1 - 2
docs/ref/utils.txt

@@ -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)