Unable to parse '08.10.2017' using format 'dd-MM-yyyy'