Handle invalid timestamp length