finished react date and time selector