fix the iso date and lcoal date bug