add input date string and travis test