Fix bug when the date string did not include time zone offset