Fixed api to get timelines by date, second try and new date format