pika/pika — Issue #98: 64-bit Header type 'timestamp' crashing
Author: RJ
Created: 2011-10-26 12:04:46+00:00
State: open

When I publish a message using the erlang AMQP client, with a header of type "timestamp", containing a 64-bit integer (microseconds since the epoch), pika crashes with: "ValueError: year is out of range"

Ideally pika would check the magnitude of the integer, and decide whether to interpret as seconds or microseconds since the epoch accordingly.