diff --git a/django/utils/dateformat.py b/django/utils/dateformat.py index d87fb13105..81c2d87f91 100644 --- a/django/utils/dateformat.py +++ b/django/utils/dateformat.py @@ -22,7 +22,7 @@ from django.utils.translation import ugettext as _ from django.utils.encoding import force_unicode from django.utils.timezone import is_aware, is_naive -re_formatchars = re.compile(r'(?