fix date bug in array adapter