summaryrefslogtreecommitdiff
path: root/django/forms/utils.py
diff options
context:
space:
mode:
authorKholid Fuadi <sopier@gmail.com>2015-09-13 17:35:56 +0700
committerTim Graham <timograham@gmail.com>2015-09-14 08:50:15 -0400
commit07e01dce4091a6bb5bba1f8ae6490ff32c40e3bf (patch)
tree8abf1e4c26faea558fefae2f764fd9b2d56d5259 /django/forms/utils.py
parent2955dfdeca271cd8b4899455b44fe77809ebccb9 (diff)
[1.8.x] Fixed typo in django/forms/utils.py docstring.
Backport of b8b776aabe9afcd771f5c49afd2b41b44cae65a4 from master
Diffstat (limited to 'django/forms/utils.py')
-rw-r--r--django/forms/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/utils.py b/django/forms/utils.py
index 717c3d0606..36cf13c1b8 100644
--- a/django/forms/utils.py
+++ b/django/forms/utils.py
@@ -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()