Fixed #17262 -- Refactor tzinfo classes #1601

Merged
merged 2 commits into from Sep 9, 2013

Conversation

Projects
None yet
2 participants
Owner

aaugustin commented Sep 8, 2013

No description provided.

django/utils/timezone.py
+
+ Kept as close as possible to the reference version. __init__ was changed
+ to make its arguments optional, according to Python's requirement that
+ tzinfo subclasses can be instanciated without arguments.
@timgraham

timgraham Sep 9, 2013

Owner

spelling: instantiated

docs/releases/1.7.txt
+If your project handles datetimes before 1970 or after 2037, and Django raises
+a :exc:`ValueError` when encountering them, you will have to install pytz_.
+You may be affected by this problem if you use Django's time zone-related date
+formats or the syndication framework.
@timgraham

timgraham Sep 9, 2013

Owner

syndication framework -> :mod:django.contrib.syndication?

docs/releases/1.7.txt
+pytz may be required
+~~~~~~~~~~~~~~~~~~~~
+
+If your project handles datetimes before 1970 or after 2037, and Django raises
@timgraham

timgraham Sep 9, 2013

Owner

omit the comma on this line

Owner

aaugustin commented Sep 9, 2013

All fixed, thank you.

aaugustin added some commits Sep 8, 2013

Fixed #17262 -- Refactored tzinfo implementations.
This commit deprecates django.utils.tzinfo in favor of the more recent
django.utils.timezone which was introduced when Django gained support
for time zones.

@aaugustin aaugustin merged commit d9413d3 into django:master Sep 9, 2013

Owner

aaugustin commented Sep 10, 2013

Merged yesterday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment