gmr / rabbitpy

A pure python, thread-safe, minimalistic and pythonic RabbitMQ client library
http://rabbitpy.readthedocs.org
BSD 3-Clause "New" or "Revised" License
242 stars 58 forks source link

rabbitpy.Message add_timestamp should set timezone to UTC #94

Closed gmr closed 8 years ago

gmr commented 8 years ago

Currently it's just datetime.datetime.now() -- it should use datetime.datetime.utcnow() or set the timezone.