mitsuhiko/werkzeug — pull request #254 by dahlia (2013-01-21 16:57:06+00:00)
Title: Make Atom to print time zone offset for aware datetime

Previously it simply treat every `datetime.datetime` as UTC even if it has `tzinfo`. It definitely seemed a bug, for example it printed `2013-01-22T01:56:30Z` for `datetime(2013, 1, 22, 1, 56, 30, tzinfo=FixedOffset(9))`.

(I could not find any unit test for `werkzeug.contrib.atom` module, so I skipped it.)