Commit 07e01dce authored by Kholid Fuadi's avatar Kholid Fuadi Committed by Tim Graham
Browse files

[1.8.x] Fixed typo in django/forms/utils.py docstring.

Backport of b8b776aa from master
parent 2955dfde
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -178,7 +178,7 @@ def from_current_timezone(value):
def to_current_timezone(value):
    """
    When time zone support is enabled, convert aware datetimes
    to naive dateimes in the current time zone for display.
    to naive datetimes in the current time zone for display.
    """
    if settings.USE_TZ and value is not None and timezone.is_aware(value):
        current_timezone = timezone.get_current_timezone()