getpelican/pelican — pull request #1371 by omasanori (2014-06-10 01:04:03+00:00)
Title: WIP: Add timezone information to datetime objects.

Based on https://github.com/getpelican/pelican/pull/977, but it adds timezone information before formatting.

On my machine `python setup.py test` doesn't work with an `AttributeError: 'module' object has no attribute 'test_generators'` error whether this change is applied or not, so I couldn't update tests. Tell me if I made a mistake for how to run tests.
(I personally tested on my website and confirmed that timezone is appended correctly.)

Please point out if I overlooked something.

Reference: https://github.com/getpelican/pelican/issues/962