fix for #31, losing precision on datetime