Affects Version/s: 0.18
Fix Version/s: None
Component/s: Python Client
When client input a value which is datetime type to qpid server, then server receive this value from qpid server, this value's type become timestamp(qpid.datatypes.timestamp), I think the value's type shouldn't change to timestamp.
I think this code do the conversion in /usr/lib/python2.6/site-packages/qpid/codec010.py file:
def write_datetime(self, t):
if isinstance(t, datetime.datetime):
t = timestamp(t)
I think maybe we need change code like this, change "return timestamp(self.read_uint64())" to "return datetime.datetime.fromtimestamp(timestamp(self.read_uint64()))"