0
0
mirror of https://github.com/django/django.git synced 2024-11-30 07:06:18 +01:00

Fixed typo in django/forms/utils.py docstring.

This commit is contained in:
Kholid Fuadi 2015-09-13 17:35:56 +07:00 committed by Tim Graham
parent f3e5a74646
commit b8b776aabe

View File

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