diff --git a/docs/topics/i18n/timezones.txt b/docs/topics/i18n/timezones.txt index 89d5ef217ee..1d9dd4b3c68 100644 --- a/docs/topics/i18n/timezones.txt +++ b/docs/topics/i18n/timezones.txt @@ -656,7 +656,7 @@ Usage >>> from django.utils.dateparse import parse_datetime >>> naive = parse_datetime("2012-02-21 10:28:45") >>> import pytz - >>> pytz.timezone("Europe/Helsinki").localize(naive) + >>> pytz.timezone("Europe/Helsinki").localize(naive, is_dst=None) datetime.datetime(2012, 2, 21, 10, 28, 45, tzinfo=) Note that ``localize`` is a pytz extension to the :class:`~datetime.tzinfo`