Changed input date format to match chart