summaryrefslogtreecommitdiff
path: root/django/forms/utils.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-06-27 09:39:47 -0700
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-06-28 16:46:18 +0200
commit42b9a23267f14be39b9b00958e18d5746783208e (patch)
treef19f6a2cd70025744ad9d668a15a0c0a5ed8aac3 /django/forms/utils.py
parent2b03e8e9e8205ae3a3aa128764277e70b7c30803 (diff)
downloaddjango-42b9a23267f14be39b9b00958e18d5746783208e.tar.gz
Fixed #30400 -- Improved typography of user facing strings.
Thanks Claude Paroz for assistance with translations.
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 73fca86325..8bfdd0a799 100644
--- a/django/forms/utils.py
+++ b/django/forms/utils.py
@@ -159,7 +159,7 @@ def from_current_timezone(value):
return timezone.make_aware(value, current_timezone)
except Exception as exc:
raise ValidationError(
- _('%(datetime)s couldn\'t be interpreted '
+ _('%(datetime)s couldn’t be interpreted '
'in time zone %(current_timezone)s; it '
'may be ambiguous or it may not exist.'),
code='ambiguous_timezone',