Recover from #to_time raising an exception to parse the string value. This fixes issue #87.