diff --git a/django/utils/dateformat.py b/django/utils/dateformat.py index 9913c3f8c42..4e5f2bc8c0d 100644 --- a/django/utils/dateformat.py +++ b/django/utils/dateformat.py @@ -13,7 +13,7 @@ Usage: from django.utils.dates import MONTHS, MONTHS_AP, WEEKDAYS from django.utils.tzinfo import LocalTimezone -from calendar import isleap +from calendar import isleap, monthrange import re, time re_formatchars = re.compile(r'(?