fix decode datetime parse error

when a datetime str like 0001-01-01 08:05:57+08:05:57
should remove end 3 byte for prevent parse error

also fixed #120